From f83b3e928f11c43be5e3185517448360e7c4a4a1 Mon Sep 17 00:00:00 2001 From: Tamal Saha Date: Fri, 3 Nov 2023 03:59:34 -0700 Subject: [PATCH] Fix Signed-off-by: Tamal Saha --- apis/shared/helpers.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apis/shared/helpers.go b/apis/shared/helpers.go index fa5e0eafa..6a8475b56 100644 --- a/apis/shared/helpers.go +++ b/apis/shared/helpers.go @@ -163,7 +163,7 @@ func NewRef(spec ImageRegistrySpec, img string) (string, error) { if addr != "" { result = addr + "/" + ref.Repository } else { - addr = ref.Repository + result = ref.Repository } } if ref.Tag != "" && ref.Tag != defaultTag {