summaryrefslogtreecommitdiffstats
path: root/robot/resources/openstack/openstack_common.robot
diff options
context:
space:
mode:
Diffstat (limited to 'robot/resources/openstack/openstack_common.robot')
-rw-r--r--robot/resources/openstack/openstack_common.robot3
1 files changed, 1 insertions, 2 deletions
diff --git a/robot/resources/openstack/openstack_common.robot b/robot/resources/openstack/openstack_common.robot
index ef370c66..7783060c 100644
--- a/robot/resources/openstack/openstack_common.robot
+++ b/robot/resources/openstack/openstack_common.robot
@@ -67,8 +67,7 @@ Get Openstack Region
[Documentation] Returns the current openstack region test variable
... Defaults to the openstack region of the Robot VM
Return From Keyword If len('${OPENSTACK_SERVICE_REGION}') > 0 ${OPENSTACK_SERVICE_REGION}
- Dictionary Should Contain Key ${GLOBAL_VM_PROPERTIES} region
- Set Test Variable ${OPENSTACK_SERVICE_REGION} ${GLOBAL_VM_PROPERTIES['region']}
+ Set Test Variable ${OPENSTACK_SERVICE_REGION} ${GLOBAL_INJECTED_REGION}
Log Setting OPENSTACK_SERVICE_REGION=${OPENSTACK_SERVICE_REGION}
[Return] ${OPENSTACK_SERVICE_REGION}