Skip to content
This repository has been archived by the owner on Sep 12, 2024. It is now read-only.

Commit

Permalink
Merge pull request #918 from spotify/davidxia-patch-1
Browse files Browse the repository at this point in the history
Fix HeliosSoloDeployment.pullIfAbsent()
  • Loading branch information
davidxia committed May 13, 2016
2 parents 9c8958c + f465f26 commit aafa74c
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -267,12 +267,12 @@ private String checkDockerAndGetGateway() throws HeliosDeploymentException {
private void pullIfAbsent(final String image) throws DockerException, InterruptedException {
try {
dockerClient.inspectImage(image);
log.info("helios-solo image {} is present. Not pulling it.", image);
log.info("image {} is present. Not pulling it.", image);
return;
} catch (ImageNotFoundException e) {
log.info("helios-solo pulling new image: {}", image);
log.info("pulling new image: {}", image);
}
dockerClient.pull(PROBE_IMAGE);
dockerClient.pull(image);
}

private List<String> probeCommand(final String probeName) {
Expand Down

0 comments on commit aafa74c

Please sign in to comment.