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

fix: improvements on informer start and logging #1749

Merged
merged 5 commits into from
Feb 2, 2023
Merged

Conversation

csviri
Copy link
Collaborator

@csviri csviri commented Feb 1, 2023

No description provided.

@csviri csviri self-assigned this Feb 1, 2023
@csviri csviri linked an issue Feb 1, 2023 that may be closed by this pull request
@csviri csviri requested a review from metacosm February 2, 2023 15:17
@csviri csviri marked this pull request as ready for review February 2, 2023 15:17
}).collect(Collectors.toList())).forEach(f -> {
try {
// to find out any exceptions
f.get();
Copy link
Collaborator

Choose a reason for hiding this comment

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

Isn't this defeating the purpose? I mean this will block each callable in turn…

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Those callables are already finsihed that time. (At least if I correctly understand the javadocs of invoke all :) )

Copy link
Collaborator

Choose a reason for hiding this comment

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

Ah yes, you are right!

@sonarcloud
Copy link

sonarcloud bot commented Feb 2, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

82.6% 82.6% Coverage
0.0% 0.0% Duplication

@metacosm metacosm merged commit 1d56ed8 into main Feb 2, 2023
@metacosm metacosm deleted the logging-improvement branch February 2, 2023 20:56
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.

Operator doesn't start when watching multiple namespaces
2 participants