-
Notifications
You must be signed in to change notification settings - Fork 306
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
controllers: objects need to be cloned before update (#6006)
controller-runtime Get() sets the pointer to an object in the cache. Status().Update(obj) modifies the object :\ this was leading to really weird race conditions that were nagging at me. Signed-off-by: Nick Santos <[email protected]> Signed-off-by: Nick Santos <[email protected]>
- Loading branch information
Showing
2 changed files
with
6 additions
and
4 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
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