Merge pull request #88437 from mattjmcnaughton/mattjmcnaughton/fix-fake-image-testing-service

Fix initialization bug in `FakeImageService`
This commit is contained in:
Kubernetes Prow Robot 2020-02-24 13:12:11 -08:00 committed by GitHub
commit 4cadaf2563
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -65,6 +65,7 @@ func (r *FakeImageService) SetFakeFilesystemUsage(usage []*runtimeapi.Filesystem
func NewFakeImageService() *FakeImageService {
return &FakeImageService{
Called: make([]string, 0),
Errors: make(map[string][]error),
Images: make(map[string]*runtimeapi.Image),
}
}