mirror of https://github.com/apache/jclouds.git
Merge pull request #182 from andreisavu/admin-remove-vlan
Use the domain admin client to remove the vlan network
This commit is contained in:
commit
4341cc21e5
|
@ -121,9 +121,9 @@ public class NetworkClientLiveTest extends BaseCloudStackClientLiveTest {
|
||||||
Logger.getAnonymousLogger().log(Level.SEVERE, "couldn't create a network, skipping test", e);
|
Logger.getAnonymousLogger().log(Level.SEVERE, "couldn't create a network, skipping test", e);
|
||||||
} finally {
|
} finally {
|
||||||
if (network != null) {
|
if (network != null) {
|
||||||
Long jobId = client.getNetworkClient().deleteNetwork(network.getId());
|
Long jobId = adminClient.getNetworkClient().deleteNetwork(network.getId());
|
||||||
if (jobId != null)
|
if (jobId != null)
|
||||||
jobComplete.apply(jobId);
|
adminJobComplete.apply(jobId);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue