mirror of https://github.com/knative/client.git
Remove unused value CfgFile (#173)
This patch removes unused `CfgFile` value from codes.
This commit is contained in:
parent
1b471d587f
commit
176cb0ea72
|
|
@ -55,7 +55,6 @@ Eventing: Manage event subscriptions and channels. Connect up event sources.`,
|
|||
if params.Output != nil {
|
||||
rootCmd.SetOutput(params.Output)
|
||||
}
|
||||
rootCmd.PersistentFlags().StringVar(&CfgFile, "config", "", "config file (default is $HOME/.kn.yaml)")
|
||||
rootCmd.PersistentFlags().StringVar(&KubeCfgFile, "kubeconfig", "", "kubectl config file (default is $HOME/.kube/config)")
|
||||
|
||||
rootCmd.AddCommand(subCommand)
|
||||
|
|
|
|||
|
|
@ -21,9 +21,6 @@ import (
|
|||
"k8s.io/client-go/tools/clientcmd"
|
||||
)
|
||||
|
||||
// CfgFile is Kn's config file is the path for the Kubernetes config
|
||||
var CfgFile string
|
||||
|
||||
// KubeCfgFile is the path for the Kubernetes config
|
||||
var KubeCfgFile string
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue