Skip to content

Commit

Permalink
fixing docker fake client InspectExec
Browse files Browse the repository at this point in the history
  • Loading branch information
krzysied committed Nov 8, 2019
1 parent 557275f commit d46daf8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/kubelet/dockershim/libdocker/fake_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ func NewFakeDockerClient() *FakeDockerClient {
Clock: clock.RealClock{},
// default this to true, so that we trace calls, image pulls and container lifecycle
EnableTrace: true,
ExecInspect: &dockertypes.ContainerExecInspect{},
ImageInspects: make(map[string]*dockertypes.ImageInspect),
ImageIDsNeedingAuth: make(map[string]dockertypes.AuthConfig),
RandGenerator: rand.New(rand.NewSource(time.Now().UnixNano())),
Expand Down

0 comments on commit d46daf8

Please sign in to comment.