Skip to content
Snippets Groups Projects
Commit c4be4a12 authored by Liz Rice's avatar Liz Rice
Browse files

Remove installation flag and some other unused variables

parent de128299
Branches
No related tags found
No related merge requests found
...@@ -34,14 +34,6 @@ var ( ...@@ -34,14 +34,6 @@ var (
masterFile string masterFile string
nodeFile string nodeFile string
federatedFile string federatedFile string
loud bool
kubeConfDir string
etcdConfDir string
flanneldConfDir string
installation string
) )
// RootCmd represents the base command when called without any subcommands // RootCmd represents the base command when called without any subcommands
...@@ -67,12 +59,6 @@ func init() { ...@@ -67,12 +59,6 @@ func init() {
cobra.OnInitialize(initConfig) cobra.OnInitialize(initConfig)
RootCmd.PersistentFlags().BoolVar(&jsonFmt, "json", false, "Prints the results as JSON") RootCmd.PersistentFlags().BoolVar(&jsonFmt, "json", false, "Prints the results as JSON")
RootCmd.PersistentFlags().StringVar(
&installation,
"installation",
"default",
"Specify how kubernetes cluster was installed. Possible values are default,hyperkube,kops,kubeadm",
)
RootCmd.PersistentFlags().StringVarP( RootCmd.PersistentFlags().StringVarP(
&checkList, &checkList,
"check", "check",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment