Removing Duplicate Command Additions

pull/9321/head
loftkun 2020-09-25 17:45:51 +09:00
parent fd44e0d8fb
commit 7a2cd0f459
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"