Skip to content

Commit

Permalink
fix: txt Error: cannot combine options --all-namespaces and -n.
Browse files Browse the repository at this point in the history
  • Loading branch information
ndj888 committed Sep 15, 2021
1 parent 3c3ee94 commit 38fa53a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/kubefwd/services/services.go
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ Try:
// if use --all-namespace ,from v1 api get all ns.
if isAllNs {
if len(namespaces) > 1 {
log.Fatalf("Error --all-namespace not use -n.")
log.Fatalf("Error: cannot combine options --all-namespaces and -n.")
}
setAllNamespace(clientSet, listOptions, &namespaces)
}
Expand Down

0 comments on commit 38fa53a

Please sign in to comment.