Skip to content

Commit

Permalink
mgmt ibi: fix reinstall config check (#470)
Browse files Browse the repository at this point in the history
  • Loading branch information
trewest authored Feb 25, 2025
1 parent fd44e1d commit 4585ba8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/lca/imagebasedinstall/mgmt/deploy/tests/common.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ func createSharedResources() {
_, err := namespace.NewBuilder(APIClient, MGMTConfig.Cluster.Info.ClusterName).Create()
Expect(err).NotTo(HaveOccurred(), "error creating namespace")

if MGMTConfig.Reinstall != nil {
if MGMTConfig.ReinstallConfigFile != "" {
By("Recreate admin kubeconfig secret")

adminKubeconfig := secret.NewBuilder(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ var _ = Describe(
Skip("Cluster is deployed with siteconfig operator")
}

if MGMTConfig.Reinstall == nil {
if MGMTConfig.ReinstallConfigFile == "" {
Skip("Reinstall configuration not supplied")
}

Expand Down

0 comments on commit 4585ba8

Please sign in to comment.