jclouds-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ignasi Barrera <notificati...@github.com>
Subject Re: [jclouds-labs] [JCLOUDS-849] All tests are green (#158)
Date Thu, 02 Apr 2015 09:02:46 GMT
> +              prioritizeCredentialsFromTemplate,
> +              client,
> +              nodeMetadataAdapter,
> +              imageAdapter,
> +              addDefaultCredentialsToImage);
> +
> +      this.client = (AzureComputeServiceAdapter) client;
> +      this.nodeMetadataAdapter = nodeMetadataAdapter;
> +   }
> +
> +   @Override
> +   public NodeMetadata destroyNode(final String id) {
> +      final Deployment node = client.internalDestroyNode(id);
> +      return node == null
> +              ? null
> +              : nodeMetadataAdapter.apply(node);

Out of curiosity, why does this method need to be overridden?

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs/pull/158/files#r27641652
Mime
View raw message