Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #95 from philk/fix-container-wait-logic
Fix logic for waitUntilContainerIsReady
  • Loading branch information
carlossg committed Dec 1, 2016
2 parents da69ae2 + adcdbed commit 30f1074
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -84,7 +84,7 @@ public Launcher decorate(final Launcher launcher, final Node node) {
return new Launcher.DecoratedLauncher(launcher) {
@Override
public Proc launch(ProcStarter starter) throws IOException {
if (waitUntilContainerIsReady()) {
if (!waitUntilContainerIsReady()) {
throw new IOException("Failed to execute shell script inside container " +
"[" + containerName + "] of pod [" + podName + "]." +
" Timed out waiting for container to become ready!");
Expand Down

0 comments on commit 30f1074

Please sign in to comment.