-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Clean up KafkaRoller class #12256
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
Clean up KafkaRoller class #12256
Conversation
* Use milliseconds as time unit throughout. * Remove unused method getBrokersLogging. * Remove throws that are never thrown. * Remove ForceableProblem.forceNow boolean which is always false. Signed-off-by: Kate Stanley <[email protected]>
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #12256 +/- ##
============================================
- Coverage 74.78% 74.78% -0.01%
Complexity 6628 6628
============================================
Files 377 377
Lines 25362 25359 -3
Branches 3402 3403 +1
============================================
- Hits 18968 18964 -4
- Misses 5006 5007 +1
Partials 1388 1388
🚀 New features to boost your workflow:
|
scholzj
left a comment
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 assuming it works.
I think it is fascinating how many internal APIs and methods use time and timeunit in their signature despite it clearly being completely useless because it always uses the same unit anyway. Maybe someone at some university should as some PhD work calculate how much waste does it create in the whole world 🤔
cluster-operator/src/main/java/io/strimzi/operator/cluster/operator/resource/KafkaRoller.java
Show resolved
Hide resolved
|
/gha run pipeline=upgrade,regression |
|
⏳ System test verification started: link The following 10 job(s) will be executed:
Tests will start after successful build completion. |
|
🎉 System test verification passed: link |
Type of change
Select the type of your PR
Description
Checklist
Please go through this checklist and make sure all applicable tasks have been done