fixes bug
1038183
Change-Id: I324a8e4df61782c903146cc8e0bb1d1bbae46c2f
flags.DECLARE('iscsi_num_targets', 'cinder.volume.driver')
flags.DECLARE('policy_file', 'cinder.policy')
flags.DECLARE('volume_driver', 'cinder.volume.manager')
+flags.DECLARE('xiv_proxy', 'cinder.volume.xiv')
def set_defaults(conf):
FLAGS = flags.FLAGS
+
FAKE = "fake"
VOLUME = {
'size': 16,
self.volumes[volume['name']] = volume
def volume_exists(self, volume):
- return self.volumes.get(volume['name'], None) != None
+ return self.volumes.get(volume['name'], None) is not None
def delete_volume(self, volume):
if self.volumes.get(volume['name'], None) is not None: