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
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)
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):