>     }
>  
>     @Override public boolean apply(AtomicReference<Operation> input) {
> -      checkNotNull(input, "input");
> -      Operation current = 
> api.getGlobalOperationApi(project.get()).get(input.get().name());
> +      checkNotNull(input.get(), "operation");
> +      Operation current = resources.operation(input.get().selfLink());
> +      input.set(current);
> +      checkState(current.errors().isEmpty(), "Task ended in error %s", 
> current); // ISE will break the loop.

this will break the retry loop!

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs-google/pull/83/files#r19991579

Reply via email to