]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commitdiff
Fix wrong command for _rescan_multipath
authorHahyun <hfamily15@gmail.com>
Tue, 31 Mar 2015 00:31:00 +0000 (09:31 +0900)
committerHahyun <hfamily15@gmail.com>
Tue, 31 Mar 2015 09:17:45 +0000 (09:17 +0000)
The _run_multipath command is wrong, it should be 'multipath -r'
not 'multipath - r'.

Closes-bug: 1437794

Change-Id: I9a40265ba2a53e024626829f892b523672160e07

.mailmap
cinder/brick/initiator/connector.py

index 93dd4409a9eef99fb426653bcfbce8ea4a0ca81d..f1a4bb40c9615eedf01f2931b88b53d339e915f9 100644 (file)
--- a/.mailmap
+++ b/.mailmap
@@ -28,6 +28,7 @@
 <ewan.mellor@citrix.com> <emellor@silver>
 <gareth@unitedstack.com> <academicgareth@gmail.com>
 <ghe@debian.org> <ghe.rivero@gmail.com>
+<hfamily15@gmail.com> <hahyun0523@lgcns.com>
 <itoumsn@nttdata.co.jp> <itoumsn@shayol>
 <jake@ansolabs.com> <jake@markupisart.com>
 <jake@ansolabs.com> <admin@jakedahn.com>
index ba469d622532f2682fac131d87cb9b7aec8d1c51..180a68e358033974558e991078775da654547d12 100644 (file)
@@ -645,7 +645,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):