From 6cb1558424055972a6e04539b88cda29680fc31c Mon Sep 17 00:00:00 2001 From: Andrew Phillips Date: Thu, 23 Oct 2014 23:06:28 -0700 Subject: [PATCH] zone -> region in Cinder AvailabilityZoneApiLiveTest Follow-up to 1205010c --- .../cinder/v1/features/AvailabilityZoneApiLiveTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apis/openstack-cinder/src/test/java/org/jclouds/openstack/cinder/v1/features/AvailabilityZoneApiLiveTest.java b/apis/openstack-cinder/src/test/java/org/jclouds/openstack/cinder/v1/features/AvailabilityZoneApiLiveTest.java index 6c3a147e90..a1231b5720 100644 --- a/apis/openstack-cinder/src/test/java/org/jclouds/openstack/cinder/v1/features/AvailabilityZoneApiLiveTest.java +++ b/apis/openstack-cinder/src/test/java/org/jclouds/openstack/cinder/v1/features/AvailabilityZoneApiLiveTest.java @@ -40,8 +40,8 @@ public class AvailabilityZoneApiLiveTest extends BaseCinderApiLiveTest { @BeforeClass(groups = {"integration", "live"}) public void setupContext() { super.setup(); - String zone = Iterables.getFirst(api.getConfiguredZones(), "regionOne"); - availabilityZoneApi = api.getAvailabilityZoneApi(zone); + String region = Iterables.getFirst(api.getConfiguredRegions(), "regionOne"); + availabilityZoneApi = api.getAvailabilityZoneApi(region); } public void testListAvailabilityZones() {