diff --git a/pkg/collection/imagetxt/imagetxt.go b/pkg/collection/imagetxt/imagetxt.go index 8f573a1..0143a7c 100644 --- a/pkg/collection/imagetxt/imagetxt.go +++ b/pkg/collection/imagetxt/imagetxt.go @@ -122,7 +122,7 @@ func (it *ImageTxt) compute() error { } var pullAll bool - var targetSources map[string]bool + targetSources := make(map[string]bool) if len(foundSources) == 0 || (len(it.IncludeSources) == 0 && len(it.ExcludeSources) == 0) { // pull all found images