ConfigWriter: Fix typo in error message parts
authorMichael Hanselmann <hansmi@google.com>
Fri, 22 Oct 2010 16:07:39 +0000 (18:07 +0200)
committerMichael Hanselmann <hansmi@google.com>
Mon, 25 Oct 2010 11:03:08 +0000 (13:03 +0200)
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>

lib/config.py

index 16acc10..1435ffa 100644 (file)
@@ -453,7 +453,7 @@ class ConfigWriter:
       if [node.master_candidate, node.drained, node.offline].count(True) > 1:
         result.append("Node %s state is invalid: master_candidate=%s,"
                       " drain=%s, offline=%s" %
-                      (node.name, node.master_candidate, node.drain,
+                      (node.name, node.master_candidate, node.drained,
                        node.offline))
 
     # drbd minors check