diff options
author | Haibin Huang <haibin.huang@intel.com> | 2018-11-22 08:11:52 +0000 |
---|---|---|
committer | Bin Yang <bin.yang@windriver.com> | 2018-11-27 13:01:27 +0000 |
commit | 873fce1e9b0cb3267275bb55da87873e239097cb (patch) | |
tree | bd0daaab51d96c2914a806c0bffc0de54870d053 /share/newton_base | |
parent | 42eeea287a9d4302629213ea38b483c0fbbf1201 (diff) |
Add server action for windriver APIv0
Change-Id: Ib6dca8c162644ba99ea04f5dd9c87ffde34bda8e
Issue-ID: MULTICLOUD-414
Signed-off-by: Haibin Huang <haibin.huang@intel.com>
(cherry picked from commit b32eb9864c7fd9757dd0192af05af6e48699b42b)
Diffstat (limited to 'share/newton_base')
-rw-r--r-- | share/newton_base/openoapi/server.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/share/newton_base/openoapi/server.py b/share/newton_base/openoapi/server.py index be79c466..c4ef3f12 100644 --- a/share/newton_base/openoapi/server.py +++ b/share/newton_base/openoapi/server.py @@ -555,7 +555,7 @@ class ServerAction(APIView): endpoint_filter=self.service, headers={"Content-Type": "application/json", "Accept": "application/json"}) - resp_body = resp.json() + resp_body = {} return Response(data=resp_body, status=resp.status_code) except VimDriverKiloException as e: |