-
Notifications
You must be signed in to change notification settings - Fork 454
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 #672: Add missing fields in ProbeConfig for configuring Readiness/Liveness Probes #719
Conversation
Codecov Report
@@ Coverage Diff @@
## master #719 +/- ##
=========================================
Coverage 46.20% 46.21%
- Complexity 3241 3246 +5
=========================================
Files 413 413
Lines 19849 19856 +7
Branches 2781 2781
=========================================
+ Hits 9172 9176 +4
- Misses 9659 9661 +2
- Partials 1018 1019 +1
Continue to review full report at Codecov.
|
d956e7f
to
b837c45
Compare
Please rebase, please fix the code smell |
I'm not using IntSupplier for a reason here. It doesn't handle nullable integers well |
Then remove the warning and provide a hint as to why we use Supplier instead: @SuppressWarnings("java:S4276") // IntSupplier throws NullPointerException when unboxing null Integers
private void setTimeoutInProbeIfNotNull(Probe probe, Supplier<Integer> integerSupplier, BiConsumer<Integer, Probe> probeConsumer) { |
f52acff
to
311ae7f
Compare
jkube-kit/enricher/api/src/main/java/org/eclipse/jkube/kit/enricher/handler/ProbeHandler.java
Outdated
Show resolved
Hide resolved
311ae7f
to
02474bf
Compare
kubernetes-maven-plugin/doc/src/main/asciidoc/inc/goals/build/_jkube-resource.adoc
Outdated
Show resolved
Hide resolved
…ing Readiness/Liveness Probes Signed-off-by: Rohan Kumar <rohaan@redhat.com>
Kudos, SonarCloud Quality Gate passed! |
Description
Fix #672
Type of change
test, version modification, documentation, etc.)
Checklist