> @@ -329,4 +319,19 @@ public void suspendNode(String id) {
>        api.getContainerApi().pause(id);
>     }
>  
> +   protected static Predicate<Image> createPredicateMatchingRepoTags(final 
> String imageIdOrName) {
> +      return new Predicate<Image>() {
> +         @Override
> +         public boolean apply(Image input) {
> +            final String imageNameWithHostPrefix = "docker.io/" + 
> imageIdOrName;

Move "docker.io" to a constant that can be referenced from the tests too? IIRC 
previous versions of Docker prefixed official images with `library/`. I agree 
this is unlikely to change, but I think it is worth having that prefix isolated 
in a single constant.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs/pull/314/files/b68a1f96477a97cb85401b42739d4aca9f78dda4#r76522681

Reply via email to