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:
Hahyun 2015-04-02 08:54:43 +09:00 committed by Walter A. Boring IV (hemna)
parent 7643a16588
commit aa42ff9b70
1 changed files with 1 additions and 1 deletions

View File

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