Skip to content

Commit 2bdf98b

Browse files
committed
Avoid logging on success in ContainerRuntimeUtil
1 parent 2dc6e30 commit 2bdf98b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

core/deployment/src/main/java/io/quarkus/deployment/util/ContainerRuntimeUtil.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -195,6 +195,7 @@ private static ContainerRuntime fullyResolveContainerRuntime(ContainerRuntime co
195195

196196
return containerRuntimeEnvironment;
197197
})
198+
.error().logOnSuccess(false)
198199
.run();
199200
} catch (Exception e) {
200201
if (!silent) {
@@ -238,6 +239,7 @@ private static String getVersionOutputFor(ContainerRuntime containerRuntime) {
238239
return ProcessBuilder.newBuilder(execPath.get())
239240
.arguments("--version")
240241
.output().gatherOnFail(true).toSingleString(16384)
242+
.error().logOnSuccess(false)
241243
.run();
242244
} catch (Throwable t) {
243245
// If an exception is thrown in the process, just return an empty String

0 commit comments

Comments
 (0)