mirror of
https://github.com/hauler-dev/hauler.git
synced 2026-08-19 04:16:27 +00:00
Fix panic on empty target sources map
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user