forked from coop-cloud/abra
fix: return corrent error handling
This commit is contained in:
parent
72df640d99
commit
2457b5fe95
|
@ -305,7 +305,7 @@ func getImageVersions(recipe recipe.Recipe) (map[string]string, error) {
|
|||
case reference.NamedTagged:
|
||||
tag = img.(reference.NamedTagged).Tag()
|
||||
case reference.Named:
|
||||
logrus.Fatalf("%s service is missing image tag?", path)
|
||||
return services, fmt.Errorf("%s service is missing image tag?", path)
|
||||
}
|
||||
|
||||
services[path] = tag
|
||||
|
|
Loading…
Reference in New Issue