Use 'target_helper' config opt in linstor driver
All cinder config options named as 'iscsi_*' were renamed to 'target_*'. The linstor driver was added after that change, hence still fetches 'iscsi_helper' opt. This patch replaces it with 'target_helper'. Change-Id: I4543e80488cb079b763679886bbde9d1ada70333
This commit is contained in:
parent
bf7e6dd12c
commit
f2eb78d43c
|
@ -961,7 +961,7 @@ class LinstorIscsiDriver(LinstorBaseDriver):
|
|||
self.helper_driver = self.helper_name
|
||||
self.target_driver = None
|
||||
else:
|
||||
self.helper_name = self.configuration.safe_get('iscsi_helper')
|
||||
self.helper_name = self.configuration.safe_get('target_helper')
|
||||
self.helper_driver = self.target_mapping[self.helper_name]
|
||||
self.target_driver = importutils.import_object(
|
||||
self.helper_driver,
|
||||
|
|
Loading…
Reference in New Issue