> @@ -62,8 +61,7 @@ public void testStartNodeWithSSD() throws RunNodesException 
> {
>           Set<? extends NodeMetadata> nodes = 
> client.createNodesInGroup(group, 1, template);
>           NodeMetadata node = get(nodes, 0);
>  
> -         CloudSigmaClient api = 
> CloudSigmaClient.class.cast(client.getContext().unwrap(
> -                  CloudSigmaApiMetadata.CONTEXT_TOKEN).getApi());
> +         CloudSigmaApi api = CloudSigmaApi.class.cast(client.getContext());

This works? It looks like `client` is a ComputeService here, so 
`client.getContext()` would be a CSC, no? Don't we need
```
CloudSigmaApi api = client.getContext().unwrapApi(CloudSigmaApi.class);
```
here?

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

Reply via email to