summaryrefslogtreecommitdiffstats
path: root/windriver/titanium_cloud/vesagent
diff options
context:
space:
mode:
Diffstat (limited to 'windriver/titanium_cloud/vesagent')
-rw-r--r--windriver/titanium_cloud/vesagent/vesagent_ctrl.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/windriver/titanium_cloud/vesagent/vesagent_ctrl.py b/windriver/titanium_cloud/vesagent/vesagent_ctrl.py
index 207ae561..d93ccc22 100644
--- a/windriver/titanium_cloud/vesagent/vesagent_ctrl.py
+++ b/windriver/titanium_cloud/vesagent/vesagent_ctrl.py
@@ -423,5 +423,5 @@ class VesAgentCtrlV1(VesAgentCtrl):
self._logger.debug("with META: %s" % request.META)
#temp realization for API upgrading only, assume cloud_owner does not contains "_" , refactor it later
- vimid = cloud_owner+"_"+cloud_region_id
+ vimid = extsys.encode_vim_id(cloud_owner, cloud_region_id)
return super(VesAgentCtrlV1,self).get(request, vimid)