kubectl port-forward accept a pod without -p
This commit is contained in:
@@ -570,8 +570,6 @@ _kubectl_port-forward()
|
||||
two_word_flags+=("-p")
|
||||
|
||||
must_have_one_flag=()
|
||||
must_have_one_flag+=("--pod=")
|
||||
must_have_one_flag+=("-p")
|
||||
must_have_one_noun=()
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user