Merge pull request #84983 from krzysied/docker_fake_client_fix3

Fixing docker fake client - InspectExec
This commit is contained in:
Kubernetes Prow Robot 2019-11-08 09:00:50 -08:00 committed by GitHub
commit ff4718ea15
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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