Merge pull request #182 from andreisavu/admin-remove-vlan

Use the domain admin client to remove the vlan network
This commit is contained in:
Jason King 2011-11-22 02:35:28 -08:00
commit 4341cc21e5
1 changed files with 2 additions and 2 deletions

View File

@ -121,9 +121,9 @@ public class NetworkClientLiveTest extends BaseCloudStackClientLiveTest {
Logger.getAnonymousLogger().log(Level.SEVERE, "couldn't create a network, skipping test", e);
} finally {
if (network != null) {
Long jobId = client.getNetworkClient().deleteNetwork(network.getId());
Long jobId = adminClient.getNetworkClient().deleteNetwork(network.getId());
if (jobId != null)
jobComplete.apply(jobId);
adminJobComplete.apply(jobId);
}
}
}