Skip to content
Permalink
Browse files
[FIXED JENKINS-25929] Update filters syntax - pass as JSON array
  • Loading branch information
vjuranek committed Dec 5, 2014
1 parent 4b25304 commit 2b6797a7e8ce7780f959807a720eb7277bc8b6f5
Showing 1 changed file with 1 addition and 1 deletion.
@@ -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;
}

0 comments on commit 2b6797a

Please sign in to comment.