From 0b21efd901c3abf4951ab88581225323ae6b2cb1 Mon Sep 17 00:00:00 2001 From: Xiaohua Zhang Date: Tue, 18 Sep 2018 15:39:30 +0000 Subject: Add UT for infra_workload Change-Id: I037cc563c373765f1423c655bbc8760f96046abe Issue-ID: MULTICLOUD-358 Signed-off-by: Xiaohua Zhang --- windriver/titanium_cloud/resource/views/infra_workload.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'windriver/titanium_cloud/resource/views') 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 -- cgit 1.2.3-korg