diff options
author | Yun Huang <yun.huang@windriver.com> | 2018-04-24 11:09:41 +0800 |
---|---|---|
committer | Yun Huang <yun.huang@windriver.com> | 2018-04-24 11:09:41 +0800 |
commit | f7c6546100bea244dfa0f59d5a79a34a473223ca (patch) | |
tree | a838e5a2eff6ce5882e26bdd8fd12d10a6c0fe69 /share/newton_base/openoapi/flavor.py | |
parent | 880a62fc56933e4e16b9a25d66304512307add54 (diff) |
Logging enhancement for openo hypervisor API
Change-Id: I567557ee4c70083d366c1c614dae2b953d2a18d7
Issue-ID: MULTICLOUD-178
Signed-off-by: Yun Huang <yun.huang@windriver.com>
Diffstat (limited to 'share/newton_base/openoapi/flavor.py')
-rw-r--r-- | share/newton_base/openoapi/flavor.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/share/newton_base/openoapi/flavor.py b/share/newton_base/openoapi/flavor.py index d922be8a..1124aec4 100644 --- a/share/newton_base/openoapi/flavor.py +++ b/share/newton_base/openoapi/flavor.py @@ -138,7 +138,7 @@ class Flavors(APIView): logger.info("request returns with status %s" % resp.status_code) if resp.status_code == status.HTTP_200_OK: - logger.debug("with content:%s" % req_resouce) + logger.debug("with content:%s" % resp.json()) pass return resp @@ -163,7 +163,7 @@ class Flavors(APIView): logger.info("request returns with status %s" % resp.status_code) if resp.status_code == status.HTTP_200_OK: - logger.debug("with content:%s" % req_resouce) + logger.debug("with content:%s" % resp.json()) pass return resp |