remove taskService and imageStoreService

Signed-off-by: yason <yan.xuean@zte.com.cn>
This commit is contained in:
yason
2017-12-12 16:40:22 +08:00
parent 41c8763e2b
commit 4762b3e273
6 changed files with 7 additions and 16 deletions

View File

@@ -34,7 +34,7 @@ func (c *criContainerdService) ListPodSandbox(ctx context.Context, r *runtime.Li
// List all sandboxes from store.
sandboxesInStore := c.sandboxStore.List()
response, err := c.taskService.List(ctx, &tasks.ListTasksRequest{})
response, err := c.client.TaskService().List(ctx, &tasks.ListTasksRequest{})
if err != nil {
return nil, fmt.Errorf("failed to list sandbox containers: %v", err)
}