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

@@ -38,7 +38,7 @@ func (c *criContainerdService) ListContainerStats(
if err != nil {
return nil, fmt.Errorf("failed to build metrics request: %v", err)
}
resp, err := c.taskService.Metrics(ctx, &request)
resp, err := c.client.TaskService().Metrics(ctx, &request)
if err != nil {
return nil, fmt.Errorf("failed to fetch metrics for tasks: %v", err)
}