-
Notifications
You must be signed in to change notification settings - Fork 450
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
Check labels annotations filter #2923
Check labels annotations filter #2923
Conversation
Signed-off-by: Yuri Sa <[email protected]>
Signed-off-by: Yuri Sa <[email protected]>
@@ -25,8 +25,9 @@ import ( | |||
) | |||
|
|||
func IsFilteredSet(sourceSet string, filterSet []string) bool { |
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.
do we need to compile the pattern here? Is it not enough to just match string on it?
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.
Theoretically, we shouldn't, but without doing that, the regexp match doesn't work as expected.
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 is the difference between them?
@yuriolisa the PR needs to be rebased |
Signed-off-by: Yuri Sa <[email protected]>
Hi, the |
Description:
Fixing the Labels and Annotations filter.
Link to tracking Issue(s):
Testing:
Documentation: