Merge pull request #9321 from loftkun/removing-duplicate-command-additions
Remove duplicate command additionspull/9327/head
commit
11cad2b3e6
|
@ -91,7 +91,6 @@ func init() {
|
||||||
if err := viper.BindPFlags(deleteCmd.Flags()); err != nil {
|
if err := viper.BindPFlags(deleteCmd.Flags()); err != nil {
|
||||||
exit.Error(reason.InternalBindFlags, "unable to bind flags", err)
|
exit.Error(reason.InternalBindFlags, "unable to bind flags", err)
|
||||||
}
|
}
|
||||||
RootCmd.AddCommand(deleteCmd)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// shotgun cleanup to delete orphaned docker container data
|
// shotgun cleanup to delete orphaned docker container data
|
||||||
|
|
|
@ -60,8 +60,6 @@ func init() {
|
||||||
if err := viper.GetViper().BindPFlags(stopCmd.Flags()); err != nil {
|
if err := viper.GetViper().BindPFlags(stopCmd.Flags()); err != nil {
|
||||||
exit.Error(reason.InternalFlagsBind, "unable to bind flags", err)
|
exit.Error(reason.InternalFlagsBind, "unable to bind flags", err)
|
||||||
}
|
}
|
||||||
|
|
||||||
RootCmd.AddCommand(stopCmd)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// runStop handles the executes the flow of "minikube stop"
|
// runStop handles the executes the flow of "minikube stop"
|
||||||
|
|
Loading…
Reference in New Issue