Delete with empty name results in deletecollection #2291
Labels
kind/bug
Categorizes issue or PR as related to a bug.
lifecycle/stale
Denotes an issue or PR has remained open with no activity and has become stale.
What happened (please include outputs or screenshots):
According to kubernetes/kubernetes#127746, if delete is called with an empty name, the client will not fail but instead call delete on the collection resource and delete the entire collection of resources.
What you expected to happen:
Delete either performs the delete of a single resource, or fails.
How to reproduce it (as minimally and precisely as possible):
Call delete, but provide an empty name.
cc @zhifei92
The text was updated successfully, but these errors were encountered: