add missing quote for grep string 52/43152/1
authorJamo Luhrsen <jluhrsen@redhat.com>
Thu, 4 Aug 2016 21:28:22 +0000 (14:28 -0700)
committerJamo Luhrsen <jluhrsen@redhat.com>
Thu, 4 Aug 2016 21:28:22 +0000 (14:28 -0700)
Change-Id: I2a886c67d2333b3633cd6a3d8471df69d0bbebb3
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
csit/libraries/OpenStackOperations.robot

index 67281ff7a1208720b67d1de1d14ed4372885ef66..16d59026f05849053b7f4a6165b53dc575c25159 100644 (file)
@@ -140,7 +140,7 @@ Get Port Id
     [Arguments]    ${port_name}      ${devstack_conn_id}
     [Documentation]    Retrieve the port id for the given port name to attach specific vm instance to a particular port
     Switch Connection    ${devstack_conn_id}
-    ${port_id}=    Write Commands Until Prompt    neutron port-list | grep "${port_name} | awk '{print $2}'       30s
+    ${port_id}=    Write Commands Until Prompt    neutron port-list | grep "${port_name}" | awk '{print $2}'       30s
     Log    ${port_id}
     [Return]    ${port_id}