From 6576d6b2332b8fb8483633ae5f094640a712e8aa Mon Sep 17 00:00:00 2001 From: bdw617 Date: Tue, 24 Oct 2023 10:41:38 -0400 Subject: [PATCH] fix test in CI --- src/cmd/initialize.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cmd/initialize.go b/src/cmd/initialize.go index 20a2e4558f..c8071c8b08 100644 --- a/src/cmd/initialize.go +++ b/src/cmd/initialize.go @@ -92,8 +92,8 @@ func setRegistryNodePort() { } // 0 is unset, which will allow changing. - if nodePort > 32767 || nodePort < 30000 || nodePort != 0 { - nodePort = config.ZarfInClusterContainerRegistryNodePort + if nodePort > 32767 || nodePort < 30000 { + nodePort = 0 } pkgConfig.PkgOpts.SetVariables[configVar] = strconv.Itoa(nodePort) pkgConfig.InitOpts.RegistryInfo.NodePort = nodePort