kubectl/pkg/drain
Brian Pursley 2687c08c5c Fix kubectl drain error handling bug.
Fixed a bug where kubectl drain would consider a pod as having been deleted if an error occurs while calling the API.

Kubernetes-commit: 4aecb151b8301a6fc69f63c08f640c7b2b4289fc
2024-01-04 08:53:57 -05:00
..
cordon.go Passes a context to the drain helper object 2020-12-04 15:13:03 -08:00
default.go wrap error from RunCordonOrUncordon 2022-01-25 10:34:47 -08:00
default_test.go RunCordonOrUncordon error if drainer has nil Ctx or Client 2021-09-27 14:20:24 -07:00
drain.go Fix kubectl drain error handling bug. 2024-01-04 08:53:57 -05:00
drain_test.go Fix kubectl drain error handling bug. 2024-01-04 08:53:57 -05:00
filter_test.go kubectl/drain add support for custom pod filters 2020-02-18 19:15:07 -05:00
filters.go fix(kubectl): delete pod declare no controllor note 2023-08-24 23:51:14 +08:00