From dcb6e3f30ba1da6b394cf626c52e80b9f96a7fed Mon Sep 17 00:00:00 2001 From: Foivos Zakkak Date: Thu, 7 Dec 2023 12:21:26 +0200 Subject: [PATCH] Fix ContainerRuntimeUtil.ContainerRuntime#isPodman check Carelessly broke it in https://github.com/quarkusio/quarkus/pull/37389 --- .../java/io/quarkus/deployment/util/ContainerRuntimeUtil.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/deployment/src/main/java/io/quarkus/deployment/util/ContainerRuntimeUtil.java b/core/deployment/src/main/java/io/quarkus/deployment/util/ContainerRuntimeUtil.java index 100295e5c681c..ff6452d4199f2 100644 --- a/core/deployment/src/main/java/io/quarkus/deployment/util/ContainerRuntimeUtil.java +++ b/core/deployment/src/main/java/io/quarkus/deployment/util/ContainerRuntimeUtil.java @@ -258,11 +258,11 @@ public String getExecutableName() { } public boolean isDocker() { - return this == DOCKER || this == DOCKER_ROOTLESS; + return this.executableName.equals("docker"); } public boolean isPodman() { - return this.executableName.equals("docker"); + return this == PODMAN || this == PODMAN_ROOTLESS; } public boolean isInWindowsWSL() {