Revision 946e553b qa/qa_instance.py

b/qa/qa_instance.py
471 471
  # Restore the original secondary, if needed
472 472
  currsec = _GetInstanceInfo(instance)["nodes"][1]
473 473
  if currsec != snode["primary"]:
474
    ["--new-secondary=%s" % snode["primary"]],
474
    AssertCommand(buildcmd(["--new-secondary=%s" % snode["primary"]]))
475 475

  
476 476
  AssertCommand(buildcmd(["-a"]))
477 477
  AssertCommand(["gnt-instance", "stop", instance["name"]])

Also available in: Unified diff