From 2457b5fe95f5c7c50be9de874b958008fb45649b Mon Sep 17 00:00:00 2001 From: cellarspoon Date: Tue, 21 Dec 2021 01:47:50 +0100 Subject: [PATCH] fix: return corrent error handling --- cli/recipe/release.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/recipe/release.go b/cli/recipe/release.go index 693185eb..7bc6e21d 100644 --- a/cli/recipe/release.go +++ b/cli/recipe/release.go @@ -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