aboutsummaryrefslogtreecommitdiffstats
path: root/robot/resources/aai/create_tenant.robot
diff options
context:
space:
mode:
authorAndreas Geissler <andreas-geissler@telekom.de>2024-11-05 18:22:30 +0100
committerAndreas Geissler <andreas-geissler@telekom.de>2024-11-08 11:42:55 +0100
commit69fd079507e6a4500c2117b7dad31fa81b7e1299 (patch)
treea55826ede16537d8087c122ec38b00028aa18479 /robot/resources/aai/create_tenant.robot
parentb3cf372e63b153b19ec685782300ec2bd07875ac (diff)
Update deprecated :FOR loopsHEADmaster
Update SDNC APIs Issue-ID: OOM-3301 Signed-off-by: Andreas Geissler <andreas-geissler@telekom.de> Change-Id: I515e503abef90f3aaa3733d7518d6e738173100e
Diffstat (limited to 'robot/resources/aai/create_tenant.robot')
-rw-r--r--robot/resources/aai/create_tenant.robot7
1 files changed, 4 insertions, 3 deletions
diff --git a/robot/resources/aai/create_tenant.robot b/robot/resources/aai/create_tenant.robot
index 5dc34536..4f6f9e8f 100644
--- a/robot/resources/aai/create_tenant.robot
+++ b/robot/resources/aai/create_tenant.robot
@@ -85,7 +85,8 @@ Get Cloud Region
Update Tenant Dictionary
[Arguments] ${dict} ${json}
@{list}= Copy List ${json['tenant']}
- :FOR ${map} IN @{list}
- \ ${status} ${tenant_id}= Run Keyword And Ignore Error Get From Dictionary ${map} tenant-id
- \ Run Keyword If '${status}' == 'PASS' Set To Dictionary ${dict} ${tenant_id}=${map}
+ FOR ${map} IN @{list}
+ ${status} ${tenant_id}= Run Keyword And Ignore Error Get From Dictionary ${map} tenant-id
+ Run Keyword If '${status}' == 'PASS' Set To Dictionary ${dict} ${tenant_id}=${map}
+ END
Log ${dict}