diff options
Diffstat (limited to 'robot/resources/openstack/nova_interface.robot')
-rw-r--r-- | robot/resources/openstack/nova_interface.robot | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/robot/resources/openstack/nova_interface.robot b/robot/resources/openstack/nova_interface.robot index 55b3467e..b7002d32 100644 --- a/robot/resources/openstack/nova_interface.robot +++ b/robot/resources/openstack/nova_interface.robot @@ -132,8 +132,9 @@ Delete Server Get Id For Name [Arguments] ${list} ${name} - :FOR ${item} IN @{list} - \ ${id}= Get From Dictionary ${item} id - \ ${n}= Get From Dictionary ${item} name - \ Return from Keyword If '${n}' == '${name}' ${id} + FOR ${item} IN @{list} + ${id}= Get From Dictionary ${item} id + ${n}= Get From Dictionary ${item} name + Return from Keyword If '${n}' == '${name}' ${id} + END [Return] None |