Fix panic on empty target sources map

This commit is contained in:
Matt Nikkel
2022-01-13 13:57:28 -05:00
parent ac52ad8260
commit 94268e38ba
+1 -1
View File
@@ -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