[master 4/4] Set new raid level on correct device in MDFactory.

dwlehman installerbot-noreply at redhat.com
Tue Jul 28 21:05:37 UTC 2015


From: David Lehman <dlehman at redhat.com>

---
 blivet/devicefactory.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/blivet/devicefactory.py b/blivet/devicefactory.py
index d522def..2be78da 100644
--- a/blivet/devicefactory.py
+++ b/blivet/devicefactory.py
@@ -1630,7 +1630,7 @@ def _get_total_space(self):
 
     def _set_raid_level(self):
         # set the new level
-        self.device.level = self.raid_level
+        self.raw_device.level = self.raid_level
 
         # adjust the bitmap setting
 


-- 
To view this commit on github, visit https://github.com/rhinstaller/blivet/commit/12c594da0f1af9306bc7dde8b9aae76917a2f0c6


More information about the anaconda-patches mailing list