> +                    Storage.Request.connectingBuilder()
> +                    .storageId(storageId)
> +                    .serverId(serverId)
> +                    .build());
> +
> +            waitDcUntilAvailable.apply(dataCenterId);
> +            logger.trace(">> storage connected.");
> +         } catch (Exception ex) {
> +            // delete unconnected storage
> +            logger.warn(ex, ">> failed to connect storage '%s'. deleting..", 
> storageId);
> +            waitDcUntilAvailable.apply(dataCenterId);
> +            destroyStorage(storageId, dataCenterId);
> +         }
> +      }
> +
> +      waitDcUntilAvailable.apply(dataCenterId);

Hmm. Yeah it's no longer needed. I was too paranoid of the datacenter not being 
ready I guess. Haha

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

Reply via email to