-
Notifications
You must be signed in to change notification settings - Fork 776
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
refactor: make policy context immutable and fields private #5523
Conversation
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
Codecov Report
@@ Coverage Diff @@
## main #5523 +/- ##
==========================================
- Coverage 36.52% 36.36% -0.16%
==========================================
Files 171 171
Lines 19238 19261 +23
==========================================
- Hits 7026 7005 -21
- Misses 11416 11460 +44
Partials 796 796
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
ExcludeGroupRole: []string{}, | ||
ExcludeResourceFunc: func(s1, s2, s3 string) bool { | ||
return false |
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.
What are these two vars? Doesn't seem to be needed.
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.
What do you mean ?
This code was removed.
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.
Just questioning why they were added before, nothing to change :)
Explanation
This PR makes policy context immutable and fields private.