[blivet:master 1/8] Fix mdnominate error message.

mulhern amulhern at redhat.com
Fri Jul 25 16:39:15 UTC 2014


Signed-off-by: mulhern <amulhern at redhat.com>
---
 blivet/devicelibs/mdraid.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/blivet/devicelibs/mdraid.py b/blivet/devicelibs/mdraid.py
index 516bbba..8f81d1b 100644
--- a/blivet/devicelibs/mdraid.py
+++ b/blivet/devicelibs/mdraid.py
@@ -154,7 +154,7 @@ def mdnominate(device):
     try:
         mdadm(args)
     except MDRaidError as msg:
-        raise MDRaidError("mdadd failed for %s: %s" % (device, msg))
+        raise MDRaidError("mdnominate failed for %s: %s" % (device, msg))
 
 def mdadd(array, device, raid_devices=None):
     """ Add a device to an array.
-- 
1.9.3



More information about the anaconda-patches mailing list