Skip to content
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

Re-use ignoreList in GenericKubernetesResourceMatcher #2050

Conversation

Donnerbart
Copy link
Contributor

Just a small improvement to re-use the ignoreList from line 178 instead of creating the identical ignoreList again in line 208.

Also optimized two if (!method()) return false; to return method(); (suggestion from IDEA).

Signed-off-by: David Sondermann <david.sondermann@hivemq.com>
@Donnerbart Donnerbart force-pushed the improvement/re-use-ignorelist-in-matcher branch from 6439c32 to 3b089e5 Compare September 10, 2023 18:10
Copy link
Collaborator

@csviri csviri left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thank you @Donnerbart

@csviri csviri merged commit 85e65ed into operator-framework:main Sep 11, 2023
@Donnerbart Donnerbart deleted the improvement/re-use-ignorelist-in-matcher branch September 11, 2023 17:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants