Skip to content

Commit

Permalink
fix: removed explicit type arguments that can be inferred in VertxHea…
Browse files Browse the repository at this point in the history
…lthCheckEnricher (3467)
  • Loading branch information
Shripad-Joshi authored Oct 21, 2024
1 parent e0e82b3 commit a0a3369
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -146,9 +146,8 @@ private Probe discoverVertxHealthCheck(boolean readiness) {
Optional<Integer> timeout = getIntegerValue(Config.TIMEOUT, readiness);
Optional<Integer> successThreshold = getIntegerValue(Config.SUCCESS_THRESHOLD, readiness);
Optional<Integer> failureThreshold = getIntegerValue(Config.FAILURE_THRESHOLD, readiness);
List<String> command = getListValue(Config.COMMAND, readiness).orElse(Collections.<String>emptyList());
Map<String, String> headers = getMapValue(Config.HEADERS, readiness).orElse(Collections.<String, String>emptyMap());

List<String> command = getListValue(Config.COMMAND, readiness).orElse(Collections.emptyList());
Map<String, String> headers = getMapValue(Config.HEADERS, readiness).orElse(Collections.emptyMap());

// Validate
// Port and port-name cannot be set at the same time
Expand Down

0 comments on commit a0a3369

Please sign in to comment.