mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-25 12:17:52 +00:00
Merge pull request #39826 from shyamjvs/fake-docker-client-fix
Automatic merge from submit-queue Made tracing of calls and container lifecycle steps in FakeDockerClient optional Fixes #39717 Slightly refactored the FakeDockerClient code and made tracing optional (but enabled by default). @yujuhong @Random-Liu
This commit is contained in:
@@ -110,7 +110,7 @@ func main() {
|
||||
cadvisorInterface := new(cadvisortest.Fake)
|
||||
containerManager := cm.NewStubContainerManager()
|
||||
|
||||
fakeDockerClient := dockertools.NewFakeDockerClient()
|
||||
fakeDockerClient := dockertools.NewFakeDockerClient().WithTraceDisabled()
|
||||
fakeDockerClient.EnableSleep = true
|
||||
|
||||
hollowKubelet := kubemark.NewHollowKubelet(
|
||||
|
Reference in New Issue
Block a user