> }
> }
>
> @AfterMethod
> @AfterClass(groups = "live")
> public void tearDown() {
> - for (String regionId : api.configuredRegions()) {
> - api.objectApiInRegionForContainer(regionId,
> containerName).delete(name);
> - api.containerApiInRegion(regionId).deleteIfEmpty(containerName);
> + for (String regionId : api.getConfiguredRegions()) {
> + api.getObjectApiForRegionAndContainer(regionId,
> containerName).delete(name);
> + api.getContainerApiForRegion(regionId).deleteIfEmpty(containerName);
Some warning here if the delete fails, so that users at least know that stuff
was left behind?
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs-openstack/pull/103/files#r13035379