-
Notifications
You must be signed in to change notification settings - Fork 370
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add apiVersion and kind for unstructured objects in "antctl mc" code (#…
…5138) Fix a deletion error during rollback after an antctl mc command failed: "Failed to delete kube-system/test-clusterset: Object 'Kind' is missing in 'unstructured object has no kind'". apiVersion and kind are required fields in unstructured object to do deletion, but DefaultUnstructuredConverter.ToUnstructured will not convert them automatically. Signed-off-by: Lan Luo <[email protected]>
- Loading branch information
1 parent
fbfa97d
commit dff1efd
Showing
1 changed file
with
12 additions
and
0 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