Delete redundant code
Method _discover_mpath_device isn't overwrited in FibreChannelConnector, just use it by self._discover_mpath_device. Change-Id: I3d5a6e0010e56d256da17e4b20be3db0569c6702
This commit is contained in:
parent
066ba564cc
commit
acf44b0c51
|
@ -255,9 +255,8 @@ class FibreChannelConnector(base.BaseLinuxConnector):
|
|||
# see if the new drive is part of a multipath
|
||||
# device. If so, we'll use the multipath device.
|
||||
if self.use_multipath:
|
||||
(device_path, multipath_id) = (super(
|
||||
FibreChannelConnector, self)._discover_mpath_device(
|
||||
device_wwn, connection_properties, self.device_name))
|
||||
(device_path, multipath_id) = self._discover_mpath_device(
|
||||
device_wwn, connection_properties, self.device_name)
|
||||
if multipath_id:
|
||||
# only set the multipath_id if we found one
|
||||
device_info['multipath_id'] = multipath_id
|
||||
|
|
Loading…
Reference in New Issue