-
Notifications
You must be signed in to change notification settings - Fork 219
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(k8s): handle status of deleted Pod correctly (#1084)
Whilst deleting a kernel namespace returns a v1.Status, deleting a Pod will return a v1.Pod and its status field is a v1.PodStatus, not a string. The existing code currently raises an exception as it attempts to do an 'in' check against the V1PodStatus type rather than a string as it expected. This is logged as: > Error occurred deleting pod: argument of type 'V1PodStatus' is not iterable
- Loading branch information
Showing
1 changed file
with
16 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters