mirror of https://github.com/apache/jclouds.git
Fixing API casting for cloudsigma-zrh live test.
This commit is contained in:
parent
a14c03ba0b
commit
29a5360d71
|
@ -61,7 +61,7 @@ public class CloudSigmaZurichComputeServiceLiveTest extends CloudSigmaComputeSer
|
|||
Set<? extends NodeMetadata> nodes = client.createNodesInGroup(group, 1, template);
|
||||
NodeMetadata node = get(nodes, 0);
|
||||
|
||||
CloudSigmaApi api = CloudSigmaApi.class.cast(client.getContext());
|
||||
CloudSigmaApi api = client.getContext().unwrapApi(CloudSigmaApi.class);
|
||||
|
||||
// Note: I wanted to use node.getHardware().getVolumes() but there is no
|
||||
// way to go from a Volume to a DriveInfo
|
||||
|
|
Loading…
Reference in New Issue