summaryrefslogtreecommitdiffstats
path: root/windriver/titanium_cloud/resource/views
diff options
context:
space:
mode:
authorXiaohua Zhang <xiaohua.zhang@windriver.com>2018-09-18 15:39:30 +0000
committerXiaohua Zhang <xiaohua.zhang@windriver.com>2018-09-18 15:39:30 +0000
commit0b21efd901c3abf4951ab88581225323ae6b2cb1 (patch)
tree896210acdc395cc2d506ee3fb3e37c5eca13a629 /windriver/titanium_cloud/resource/views
parent809fa3996eaf65736e361eb063260430b11eac5e (diff)
Add UT for infra_workload
Change-Id: I037cc563c373765f1423c655bbc8760f96046abe Issue-ID: MULTICLOUD-358 Signed-off-by: Xiaohua Zhang <xiaohua.zhang@windriver.com>
Diffstat (limited to 'windriver/titanium_cloud/resource/views')
-rw-r--r--windriver/titanium_cloud/resource/views/infra_workload.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/windriver/titanium_cloud/resource/views/infra_workload.py b/windriver/titanium_cloud/resource/views/infra_workload.py
index 53b964d0..5ce3e233 100644
--- a/windriver/titanium_cloud/resource/views/infra_workload.py
+++ b/windriver/titanium_cloud/resource/views/infra_workload.py
@@ -41,13 +41,13 @@ class InfraWorkload(APIView):
def post(self, request, vimid=""):
self._logger.info("vimid: %s" % (vimid))
- self._logger.info("data: %s, %s" % (request.data))
+ self._logger.info("data: %s" % (request.data))
self._logger.debug("META: %s" % request.META)
try :
data = request.data
- oof_directive = data["oof_directive"]
+ oof_directive = data["oof_directives"]
template_type = data["template_type"]
template_data = data["template_data"]
resp_template = None