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:
@@ -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()
|
||||
|
Reference in New Issue
Block a user