Skip to content

Commit

Permalink
Fix ContainerRuntimeUtil.ContainerRuntime#isPodman check
Browse files Browse the repository at this point in the history
Carelessly broke it in quarkusio#37389
  • Loading branch information
zakkak committed Dec 7, 2023
1 parent 58834c2 commit dcb6e3f
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit dcb6e3f

Please sign in to comment.