Bug introduced in commit cc4b14f07: Part of a statement was missing. This
makes pylint-qa fail.

Signed-off-by: Bernardo Dal Seno <[email protected]>
---
 qa/qa_instance.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/qa/qa_instance.py b/qa/qa_instance.py
index 377c20f..9764d7d 100644
--- a/qa/qa_instance.py
+++ b/qa/qa_instance.py
@@ -471,7 +471,7 @@ def TestReplaceDisks(instance, pnode, snode, othernode):
   # Restore the original secondary, if needed
   currsec = _GetInstanceInfo(instance)["nodes"][1]
   if currsec != snode["primary"]:
-    ["--new-secondary=%s" % snode["primary"]],
+    AssertCommand(buildcmd(["--new-secondary=%s" % snode["primary"]]))
 
   AssertCommand(buildcmd(["-a"]))
   AssertCommand(["gnt-instance", "stop", instance["name"]])
-- 
1.7.7.3

Reply via email to