Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
remove deprecated field mgr before apply patch
in the case that we have a deprecated field manager that we need to remove, if the Patch() were to fail that code path would not execute. To move it before the Patch() we also have to do one Get() to know if the removal is neccessary. this was uncovered while debugging this upgrade problem: JIRA: https://issues.redhat.com/browse/OCPBUGS-22293 Signed-off-by: Jamo Luhrsen <jluhrsen@gmail.com>
- Loading branch information
Showing
1 changed file
with
25 additions
and
17 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