summaryrefslogtreecommitdiffstats
path: root/hpa
diff options
context:
space:
mode:
authorHaibin Huang <haibin.huang@intel.com>2020-02-11 14:35:11 +0800
committerHaibin Huang <haibin.huang@intel.com>2020-02-11 14:35:11 +0800
commit244a269a221ac02157c27e5252909a209d3fed8f (patch)
tree957238d05f350394d7b0e33a8cb884c9c65c6e3e /hpa
parent4a659c6281bbaf855856ef935154607913be281e (diff)
fix sonar bug
Issue-ID: MULTICLOUD-695 Signed-off-by: Haibin Huang <haibin.huang@intel.com> Change-Id: I25bad8edd1571f2c143c55f04138c5c464e75d07
Diffstat (limited to 'hpa')
-rw-r--r--hpa/hpa/hpa_discovery.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/hpa/hpa/hpa_discovery.py b/hpa/hpa/hpa_discovery.py
index 69b9f222..acc10c3c 100644
--- a/hpa/hpa/hpa_discovery.py
+++ b/hpa/hpa/hpa_discovery.py
@@ -430,7 +430,7 @@ class HPA_Discovery(base.HPA_DiscoveryBase):
try:
cloud_extra_info_str = json.loads(cloud_extra_info_str)
except Exception as ex:
- logger.error("Can not convert cloud extra info %s %s" % (
+ self._logger.error("Can not convert cloud extra info %s %s" % (
str(ex), cloud_extra_info_str))
return {}
if cloud_extra_info_str :