Skip to content
Snippets Groups Projects
Commit 3b0db9e3 authored by Michael Hanselmann's avatar Michael Hanselmann
Browse files

qa_utils: Fix order of arguments passed to _AssertRetCode


Signed-off-by: default avatarMichael Hanselmann <hansmi@google.com>
Reviewed-by: default avatarGuido Trotter <ultrotter@google.com>
parent 74e642cd
No related branches found
No related tags found
No related merge requests found
......@@ -325,7 +325,7 @@ def GetCommandOutput(node, cmd, tty=None, fail=False):
p = StartLocalCommand(GetSSHCommand(node, cmd, tty=tty),
stdout=subprocess.PIPE)
rcode = p.wait()
_AssertRetCode(rcode, fail, node, cmd)
_AssertRetCode(rcode, fail, cmd, node)
return p.stdout.read()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment