mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-08 12:41:58 +00:00
Delete fails on notfound errors.
If deleting multiple resources, command will continue on error and report not found resources at the end.
This commit is contained in:
@@ -364,6 +364,7 @@ _kubectl_delete()
|
||||
flags+=("--grace-period=")
|
||||
flags+=("--help")
|
||||
flags+=("-h")
|
||||
flags+=("--ignore-not-found")
|
||||
flags+=("--selector=")
|
||||
two_word_flags+=("-l")
|
||||
|
||||
@@ -591,6 +592,7 @@ _kubectl_stop()
|
||||
flags+=("--grace-period=")
|
||||
flags+=("--help")
|
||||
flags+=("-h")
|
||||
flags+=("--ignore-not-found")
|
||||
flags+=("--selector=")
|
||||
two_word_flags+=("-l")
|
||||
|
||||
|
Reference in New Issue
Block a user