Fix wrong command for _rescan_multipath
The _run_multipath command is wrong, it should be 'multipath -r' not 'multipath - r'. Change-Id: I2b642de057c11be71b4724c0c22f8bdc3ca86191 Closes-bug: 1438956
This commit is contained in:
parent
7643a16588
commit
aa42ff9b70
@ -656,7 +656,7 @@ class ISCSIConnector(InitiatorConnector):
|
||||
check_exit_code=[0, 1, 21, 255])
|
||||
|
||||
def _rescan_multipath(self):
|
||||
self._run_multipath('-r', check_exit_code=[0, 1, 21])
|
||||
self._run_multipath(['-r'], check_exit_code=[0, 1, 21])
|
||||
|
||||
|
||||
class ISERConnector(ISCSIConnector):
|
||||
|
Loading…
x
Reference in New Issue
Block a user