fixing docker fake client InspectExec

This commit is contained in:
Krzysztof Siedlecki 2019-11-08 12:43:16 +01:00
parent 557275f1d1
commit d46daf891c

View File

@ -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())),