Skip to content

Commit 8141304

Browse files
posoxk8s-ci-robot
authored andcommitted
Fix register bootstrap options in alpha phases (#1064)
Fixes issue: #1063
1 parent 82c49a9 commit 8141304

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/clusterctl/cmd/alpha_phase_create_bootstrap_cluster.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,6 @@ func RunAlphaPhaseCreateBootstrapCluster(pcbco *AlphaPhaseCreateBootstrapCluster
6161
func init() {
6262
// Optional flags
6363
alphaPhaseCreateBootstrapClusterCmd.Flags().StringVarP(&pcbco.KubeconfigOutput, "kubeconfig-out", "", "minikube.kubeconfig", "Where to output the kubeconfig for the bootstrap cluster")
64-
pcbco.Bootstrap.AddFlags(alphaPhasesCmd.Flags())
64+
pcbco.Bootstrap.AddFlags(alphaPhaseCreateBootstrapClusterCmd.Flags())
6565
alphaPhasesCmd.AddCommand(alphaPhaseCreateBootstrapClusterCmd)
6666
}

0 commit comments

Comments
 (0)