> + if (nsg != null) {
> + uri =
> api.getNetworkSecurityGroupApi(group).delete(id + "nsg");
> + jobDone = resourceDeleted.apply(uri);
> + if (jobDone) {
> + nsgDeleteStatus = true;
> +
> + }
> + }
> + else {
> + nsgDeleteStatus = true;
> + }
> +
> + return deploymentDeleteStatus &&
> storageAcctDeleteStatus && ipDeleteStatus && nsgDeleteStatus;
> + } else {
> + return false;
> + }
> } else {
> return false;
Hmmm can we have some way of determining if we can remove it? For example, when
the last VM is being removed, etc? Otherwise jclouds will start leaking
resources users will potentially be unaware of.
---
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/291/files/8a39037237f5cccc7d100bc58a9a82bdb89924b1#r67893549