> + if (custom) {
> + /* id fields indexes
> + 0: imageReference.location) + "/" +
> + 1: imageReference.group + "/" +
> + 2: imageReference.storage + "/" +
> + 3: imageReference.vhd1 + "/" +
> + 4: imageReference.offer + "/" +
> + 5: imageReference.location;
> + */
> + String group = fields[1];
> + String storage = fields[2];
> + StorageServiceKeys keys =
> api.getStorageAccountApi(group).getKeys(storage);
> +
> + // This removes now all the images in this storage. At least in
> theory, there should be just one and if there is
> + // more, they should be copies of each other.
> + BlobHelper.deleteContainerIfExists(storage, keys.key1(), "system");
Is it possible to have `deleteContainerIfExists` return some type of status
here to verify that the container has been deleted successfully?
---
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/305/files/93cecad810be0366709b28b2dbf3259efe10dec2#r73190216