Skip to content

Commit

Permalink
[FIXED JENKINS-25929] Update filters syntax - pass as JSON array
Browse files Browse the repository at this point in the history
  • Loading branch information
vjuranek committed Dec 5, 2014
1 parent 4b25304 commit 2b6797a
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -78,7 +78,7 @@ public void execute(@SuppressWarnings("rawtypes") AbstractBuild build, ConsoleLo

private boolean isImagePulled() throws DockerException {
DockerClient client = getClient();
List<Image> images = client.listImagesCmd().withFilters(fromImage).exec();
List<Image> images = client.listImagesCmd().withFilters(String.format("{\"%s\":[\"true\"]}", fromImage)).exec();
if (images.size() == 0) {
return false;
}
Expand Down

0 comments on commit 2b6797a

Please sign in to comment.