From 941a5e04566820780b6f167c857f601c9c19c8d4 Mon Sep 17 00:00:00 2001 From: Andrew Minkin Date: Mon, 16 Oct 2023 14:43:25 +0600 Subject: [PATCH] EVEREST-488 Fixed tests --- pkg/version/version.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/version/version.go b/pkg/version/version.go index ee41bdbc..7d351026 100644 --- a/pkg/version/version.go +++ b/pkg/version/version.go @@ -44,7 +44,7 @@ var ( // for the release it returns everest-catalog:X.Y.Z. func CatalogImage() string { catalogImage = fmt.Sprintf(releaseCatalogImage, Version) - if strings.Contains(Version, "dirty") { + if strings.Contains(Version, "dirty") || Version == "" { catalogImage = devCatalogImage } return catalogImage