Merge pull request #9321 from loftkun/removing-duplicate-command-additions

Remove duplicate command additions
pull/9327/head
Sharif Elgamal 2020-09-25 14:03:48 -07:00 committed by GitHub
commit 11cad2b3e6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 3 deletions

View File

@ -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

View File

@ -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"