]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commitdiff
Dothill fix options access
authorWalter A. Boring IV <walter.boring@hp.com>
Fri, 11 Sep 2015 18:32:29 +0000 (18:32 +0000)
committerWalter A. Boring IV <walter.boring@hp.com>
Fri, 11 Sep 2015 18:39:46 +0000 (18:39 +0000)
This patch fixes invalid access to the options that live
in the dothill_common.  They were recently renamed from
common_opt to common_opts, but the drivers weren't updated.

Change-Id: Iff411239a079f76c874b7b11f01a21f5f7d9f12e
Partial-Bug: 1494877

cinder/volume/drivers/dothill/dothill_fc.py
cinder/volume/drivers/dothill/dothill_iscsi.py

index 9bbebe40dc9f7837fa57ba8f2fa4b77dc6675490..7c332d99f59340a5363f772b4f54d5529d629c3c 100644 (file)
@@ -46,7 +46,7 @@ class DotHillFCDriver(cinder.volume.driver.FibreChannelDriver):
     def __init__(self, *args, **kwargs):
         super(DotHillFCDriver, self).__init__(*args, **kwargs)
         self.common = None
-        self.configuration.append_config_values(dothill_common.common_opt)
+        self.configuration.append_config_values(dothill_common.common_opts)
         self.configuration.append_config_values(san.san_opts)
         self.lookup_service = fczm_utils.create_lookup_service()
 
index e6ddc1dac975e8096b5babd04655a128c9ae01f2..7aa7803cdfeb53cc7be00d23a6384dd9306dd78a 100644 (file)
@@ -51,8 +51,8 @@ class DotHillISCSIDriver(cinder.volume.driver.ISCSIDriver):
     def __init__(self, *args, **kwargs):
         super(DotHillISCSIDriver, self).__init__(*args, **kwargs)
         self.common = None
-        self.configuration.append_config_values(dothillcommon.common_opt)
-        self.configuration.append_config_values(dothillcommon.iscsi_opt)
+        self.configuration.append_config_values(dothillcommon.common_opts)
+        self.configuration.append_config_values(dothillcommon.iscsi_opts)
         self.configuration.append_config_values(san.san_opts)
         self.iscsi_ips = self.configuration.dothill_iscsi_ips