Add instrumented service.

Signed-off-by: Lantao Liu <lantaol@google.com>
This commit is contained in:
Lantao Liu
2017-08-22 05:32:10 +00:00
parent 7901f56367
commit 195b52500f
23 changed files with 299 additions and 163 deletions

View File

@@ -127,7 +127,7 @@ func NewCRIContainerdService(containerdEndpoint, rootDir, networkPluginBinDir, n
return nil, fmt.Errorf("failed to create stream server: %v", err)
}
return c, nil
return newInstrumentedService(c), nil
}
func (c *criContainerdService) Start() {