From b1cf0c569c17b5dfe2f85836e64a378cfc9ba2db Mon Sep 17 00:00:00 2001 From: Sergey Reshetnyak Date: Mon, 24 Jun 2019 23:10:46 +0400 Subject: [PATCH] Fix register bootstrap options in alpha phases Fixes issue: #1063 --- cmd/clusterctl/cmd/alpha_phase_create_bootstrap_cluster.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/clusterctl/cmd/alpha_phase_create_bootstrap_cluster.go b/cmd/clusterctl/cmd/alpha_phase_create_bootstrap_cluster.go index 2e566bb877d9..17ed1fd9f881 100644 --- a/cmd/clusterctl/cmd/alpha_phase_create_bootstrap_cluster.go +++ b/cmd/clusterctl/cmd/alpha_phase_create_bootstrap_cluster.go @@ -61,6 +61,6 @@ func RunAlphaPhaseCreateBootstrapCluster(pcbco *AlphaPhaseCreateBootstrapCluster func init() { // Optional flags alphaPhaseCreateBootstrapClusterCmd.Flags().StringVarP(&pcbco.KubeconfigOutput, "kubeconfig-out", "", "minikube.kubeconfig", "Where to output the kubeconfig for the bootstrap cluster") - pcbco.Bootstrap.AddFlags(alphaPhasesCmd.Flags()) + pcbco.Bootstrap.AddFlags(alphaPhaseCreateBootstrapClusterCmd.Flags()) alphaPhasesCmd.AddCommand(alphaPhaseCreateBootstrapClusterCmd) }