fix: return corrent error handling

This commit is contained in:
decentral1se 2021-12-21 01:47:50 +01:00
parent 72df640d99
commit 2457b5fe95
Signed by: decentral1se
GPG Key ID: 03789458B3D0C410
1 changed files with 1 additions and 1 deletions

View File

@ -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