diff --git a/pkg/catalogue/catalogue.go b/pkg/catalogue/catalogue.go index 075cc930..3f3fb3f8 100644 --- a/pkg/catalogue/catalogue.go +++ b/pkg/catalogue/catalogue.go @@ -402,7 +402,11 @@ func GetImageMetadata(imageRowString, recipeName string) (image, error) { } if len(imgFields) < 3 { - logrus.Warnf("%s image meta has incorrect format: %s", recipeName, imageRowString) + if imageRowString != "" { + logrus.Warnf("%s image meta has incorrect format: %s", recipeName, imageRowString) + } else { + logrus.Warnf("%s image meta is empty?", recipeName) + } return img, nil }