> +
> + AtomicReference<Operation> operation = new AtomicReference<Operation>(
> + api.getNetworkApiForProject(userProject.get()).delete(id));
> +
> + retry(operationDonePredicate, operationCompleteCheckTimeout,
> operationCompleteCheckInterval,
> + MILLISECONDS).apply(operation);
> +
> + checkState(!operation.get().getHttpError().isPresent(), "Could not
> create network, operation failed" + operation);
> +
> + return true;
> + }
> +
> + @Override
> + public SecurityGroup addIpPermission(IpPermission ipPermission,
> SecurityGroup group) {
> +
> + if (api.getNetworkApiForProject(userProject.get()).get(group.getId())
> == null) {
Is if the network does not exist, is a "silent failure" OK here or is this
actually a case of incorrect user input?
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs-google/pull/5/files#r7379225