mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-26 05:03:09 +00:00
Merge pull request #84983 from krzysied/docker_fake_client_fix3
Fixing docker fake client - InspectExec
This commit is contained in:
commit
ff4718ea15
@ -99,6 +99,7 @@ func NewFakeDockerClient() *FakeDockerClient {
|
|||||||
Clock: clock.RealClock{},
|
Clock: clock.RealClock{},
|
||||||
// default this to true, so that we trace calls, image pulls and container lifecycle
|
// default this to true, so that we trace calls, image pulls and container lifecycle
|
||||||
EnableTrace: true,
|
EnableTrace: true,
|
||||||
|
ExecInspect: &dockertypes.ContainerExecInspect{},
|
||||||
ImageInspects: make(map[string]*dockertypes.ImageInspect),
|
ImageInspects: make(map[string]*dockertypes.ImageInspect),
|
||||||
ImageIDsNeedingAuth: make(map[string]dockertypes.AuthConfig),
|
ImageIDsNeedingAuth: make(map[string]dockertypes.AuthConfig),
|
||||||
RandGenerator: rand.New(rand.NewSource(time.Now().UnixNano())),
|
RandGenerator: rand.New(rand.NewSource(time.Now().UnixNano())),
|
||||||
|
Loading…
Reference in New Issue
Block a user