Skip to content

Commit 26a627a

Browse files
authored
fix: remove Unnecessary call to 'toString()' in VertxHealthCheckEnricher.java (#3611)
Signed-off-by: Adham Ahmed Hussein Mahrous <[email protected]>
1 parent 49d2b4d commit 26a627a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jkube-kit/jkube-kit-vertx/src/main/java/org/eclipse/jkube/vertx/enricher/VertxHealthCheckEnricher.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ private Optional<List<String>> getListValue(Config config, boolean readiness) {
278278
} else {
279279
throw new IllegalArgumentException(String.format(
280280
ERROR_MESSAGE,
281-
config.getKey(), input.getClass(), input.toString()));
281+
config.getKey(), input.getClass(), input));
282282
}
283283

284284
});

0 commit comments

Comments
 (0)