New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: fix race condition in start controllers #1941
Conversation
Signed-off-by: mozillazg <mozillazg101@gmail.com>
e65dc29
to
d6f01d3
Compare
Codecov Report
@@ Coverage Diff @@
## master #1941 +/- ##
==========================================
+ Coverage 53.23% 53.28% +0.04%
==========================================
Files 100 100
Lines 8986 8986
==========================================
+ Hits 4784 4788 +4
+ Misses 3809 3806 -3
+ Partials 393 392 -1
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the fix! LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Thanks @mozillazg!
What this PR does / why we need it:
gatekeeper/vendor/sigs.k8s.io/controller-runtime/pkg/source/source.go
Lines 251 to 254 in 19c9cef
Before:
After:
Which issue(s) this PR fixes (optional, using
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close the issue(s) when the PR gets merged):#1929
Special notes for your reviewer: