[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[PATCH] Correctly add found multipath devices to our dict (#560029).



---
 storage/devicelibs/mpath.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/storage/devicelibs/mpath.py b/storage/devicelibs/mpath.py
index b6d46e1..adb2644 100644
--- a/storage/devicelibs/mpath.py
+++ b/storage/devicelibs/mpath.py
@@ -34,7 +34,7 @@ def parseMultipathOutput(output):
             break
         if lexemes[0] == 'create:':
             if name and devices:
-                mpaths.append(mpath)
+                mpaths[name] = devices
                 name = None
                 devices = []
             name = lexemes[1]
-- 
1.6.5.1


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]