mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 11:50:44 +00:00
fixing docker fake client InspectExec
This commit is contained in:
parent
557275f1d1
commit
d46daf891c
@ -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