Skip to content

Commit

Permalink
fix test in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
bdw617 committed Oct 24, 2023
1 parent f49e4ad commit 6576d6b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/cmd/initialize.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6576d6b

Please sign in to comment.