From 49ccf2d204eeec71d1ca6c69423287bd3de6c61f Mon Sep 17 00:00:00 2001 From: cellarspoon Date: Tue, 4 Jan 2022 22:49:36 +0100 Subject: [PATCH] fix: also show skip for non semver tags --- cli/recipe/upgrade.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/recipe/upgrade.go b/cli/recipe/upgrade.go index d203a6bd..b69481c2 100644 --- a/cli/recipe/upgrade.go +++ b/cli/recipe/upgrade.go @@ -220,7 +220,7 @@ You may invoke this command in "wizard" mode and be prompted for input: tag := img.(reference.NamedTagged).Tag() logrus.Warning(fmt.Sprintf("unable to determine versioning semantics of %s, listing all tags", tag)) msg = fmt.Sprintf("upgrade to which tag? (service: %s, tag: %s)", service.Name, tag) - compatibleStrings = []string{} + compatibleStrings = []string{"skip"} for _, regVersion := range regVersions { compatibleStrings = append(compatibleStrings, regVersion.Name) }