Skip to content

Commit d46daf8

Browse files
committed
fixing docker fake client InspectExec
1 parent 557275f commit d46daf8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pkg/kubelet/dockershim/libdocker/fake_client.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,7 @@ func NewFakeDockerClient() *FakeDockerClient {
9999
Clock: clock.RealClock{},
100100
// default this to true, so that we trace calls, image pulls and container lifecycle
101101
EnableTrace: true,
102+
ExecInspect: &dockertypes.ContainerExecInspect{},
102103
ImageInspects: make(map[string]*dockertypes.ImageInspect),
103104
ImageIDsNeedingAuth: make(map[string]dockertypes.AuthConfig),
104105
RandGenerator: rand.New(rand.NewSource(time.Now().UnixNano())),

0 commit comments

Comments
 (0)