Skip to content

Commit f580d35

Browse files
committed
Replace shell completion request string literal with cobra constant
Signed-off-by: Ben Krieger <[email protected]>
1 parent 8903037 commit f580d35

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: cmd/minikube/cmd/kubectl.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ host. Please be aware that when using --ssh all paths will apply to the remote m
9696
os.Exit(1)
9797
}
9898

99-
if len(args) > 1 && args[0] != "--help" && args[0] != "__complete" {
99+
if len(args) > 1 && args[0] != "--help" && args[0] != cobra.ShellCompRequestCmd {
100100
cluster := []string{"--cluster", cname}
101101
args = append(cluster, args...)
102102
}

0 commit comments

Comments
 (0)