You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@jclouds.apache.org by Ignasi Barrera <no...@github.com> on 2015/04/02 11:02:46 UTC

Re: [jclouds-labs] [JCLOUDS-849] All tests are green (#158)

> +              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