kubelet/metrics: Move instrumented_docker.go to dockertools.

This can solve the circular import problem when we move the
kubelet.pullImage to kubelet/metrics or kubelet/container package.
This commit is contained in:
Yifan Gu
2015-04-24 21:57:19 -07:00
parent c3ce410cb0
commit 6c98b9daee
2 changed files with 21 additions and 23 deletions

View File

@@ -165,7 +165,7 @@ func NewMainKubelet(
if resyncInterval <= 0 {
return nil, fmt.Errorf("invalid sync frequency %d", resyncInterval)
}
dockerClient = metrics.NewInstrumentedDockerInterface(dockerClient)
dockerClient = dockertools.NewInstrumentedDockerInterface(dockerClient)
// Wait for the Docker daemon to be up (with a timeout).
waitStart := time.Now()