Skip to content

Commit 11cad2b

Browse files
Merge pull request #9321 from loftkun/removing-duplicate-command-additions
Remove duplicate command additions
2 parents fb878f6 + 7a2cd0f commit 11cad2b

File tree

2 files changed

+0
-3
lines changed

2 files changed

+0
-3
lines changed

cmd/minikube/cmd/delete.go

-1
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,6 @@ func init() {
9191
if err := viper.BindPFlags(deleteCmd.Flags()); err != nil {
9292
exit.Error(reason.InternalBindFlags, "unable to bind flags", err)
9393
}
94-
RootCmd.AddCommand(deleteCmd)
9594
}
9695

9796
// shotgun cleanup to delete orphaned docker container data

cmd/minikube/cmd/stop.go

-2
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,6 @@ func init() {
6060
if err := viper.GetViper().BindPFlags(stopCmd.Flags()); err != nil {
6161
exit.Error(reason.InternalFlagsBind, "unable to bind flags", err)
6262
}
63-
64-
RootCmd.AddCommand(stopCmd)
6563
}
6664

6765
// runStop handles the executes the flow of "minikube stop"

0 commit comments

Comments
 (0)