Lenovo driver fix access to common opts
This patch fixes access to the lenovo_common options. They were recently renamed from common_opt to common_opts, but the drivers weren't updated. Change-Id: I63583394d58cb8fc791787df35ed04d30113fafe Partial-Bug: 1494877
This commit is contained in:
parent
b1cdd9e49f
commit
49fec70e99
|
@ -30,7 +30,7 @@ class LenovoFCDriver(dothill_fc.DotHillFCDriver):
|
|||
|
||||
def __init__(self, *args, **kwargs):
|
||||
super(LenovoFCDriver, self).__init__(*args, **kwargs)
|
||||
self.configuration.append_config_values(lenovo_common.common_opt)
|
||||
self.configuration.append_config_values(lenovo_common.common_opts)
|
||||
|
||||
def _init_common(self):
|
||||
return lenovo_common.LenovoCommon(self.configuration)
|
||||
|
|
|
@ -30,8 +30,8 @@ class LenovoISCSIDriver(dothill_iscsi.DotHillISCSIDriver):
|
|||
|
||||
def __init__(self, *args, **kwargs):
|
||||
super(LenovoISCSIDriver, self).__init__(*args, **kwargs)
|
||||
self.configuration.append_config_values(lenovo_common.common_opt)
|
||||
self.configuration.append_config_values(lenovo_common.iscsi_opt)
|
||||
self.configuration.append_config_values(lenovo_common.common_opts)
|
||||
self.configuration.append_config_values(lenovo_common.iscsi_opts)
|
||||
self.iscsi_ips = self.configuration.lenovo_iscsi_ips
|
||||
|
||||
def _init_common(self):
|
||||
|
|
Loading…
Reference in New Issue