]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commitdiff
Remove cinder gating hack
authorVishvananda Ishaya <vishvananda@gmail.com>
Fri, 21 Sep 2012 00:32:56 +0000 (00:32 +0000)
committerVishvananda Ishaya <vishvananda@gmail.com>
Fri, 21 Sep 2012 03:03:04 +0000 (03:03 +0000)
The hack was necessary while we switched the name used for az's
in the gating tests. Now it can be removed

Change-Id: I970205910ac0950ab4a961aa0537eb964d7f0d3c

cinder/api/openstack/volume/volumes.py

index b697a6256dec49a1c368c8677832000bd2c9102d..69d55c6bd8e3f0cab1a25c54e91b6c3872196155 100644 (file)
@@ -319,9 +319,6 @@ class VolumeController(wsgi.Controller):
                 kwargs['image_id'] = image_uuid
 
         kwargs['availability_zone'] = volume.get('availability_zone', None)
-        # NOTE(vish): Temporary hack to work around gating issues
-        if kwargs['availability_zone'] == 'cinder':
-            kwargs['availability_zone'] = 'nova'
 
         new_volume = self.volume_api.create(context,
                                             size,