From c4be4a124073e8b072fd9e8983a73acdf050c8f7 Mon Sep 17 00:00:00 2001 From: Liz Rice Date: Thu, 31 Aug 2017 17:52:21 +0100 Subject: [PATCH] Remove installation flag and some other unused variables --- cmd/root.go | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/cmd/root.go b/cmd/root.go index aed8b42..601804e 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -34,14 +34,6 @@ var ( masterFile string nodeFile string federatedFile string - - loud bool - - kubeConfDir string - etcdConfDir string - flanneldConfDir string - - installation string ) // RootCmd represents the base command when called without any subcommands @@ -67,12 +59,6 @@ func init() { cobra.OnInitialize(initConfig) 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( &checkList, "check",