Add parens around "${status}" - fix invalid syntax 24/65624/1
authorJamo Luhrsen <jluhrsen@redhat.com>
Thu, 16 Nov 2017 16:21:23 +0000 (08:21 -0800)
committerJamo Luhrsen <jluhrsen@redhat.com>
Thu, 16 Nov 2017 16:21:23 +0000 (08:21 -0800)
Change-Id: I7a34148a7a2ba8f6b308fa3226dceca3b80b7d92
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
csit/libraries/OpenStackOperations.robot

index 6f56fce7ed4b1e42c1af46a23c92759d38e208a2..9cddc2a708cc1bb3b2d11c70e32936e4dbc15833 100644 (file)
@@ -371,7 +371,7 @@ Get VM IPs
     \    Run Keyword If    "${status}" == "PASS"    BuiltIn.Log    ${ips_and_console_log[2]}
     \    BuiltIn.Run Keyword If    "${status}" == "PASS"    Collections.Append To List    ${vm_ips}    ${ips_and_console_log[0]}
     \    BuiltIn.Run Keyword If    "${status}" == "FAIL"    Collections.Append To List    ${vm_ips}    None
-    \    ${rc}    ${vm_console_output}=    BuiltIn.Run Keyword If    ${status} == "FAIL"    Run And Return Rc And Output    openstack console log show ${vm}
+    \    ${rc}    ${vm_console_output}=    BuiltIn.Run Keyword If    "${status}" == "FAIL"    Run And Return Rc And Output    openstack console log show ${vm}
     \    BuiltIn.Run Keyword If    "${status}" == "FAIL"    BuiltIn.Log    ${vm_console_output}
     [Return]    @{vm_ips}    ${ips_and_console_log[1]}