summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkrishnaa96 <krishna.moorthy6@wipro.com>2020-04-09 19:56:26 +0530
committerkrishnaa96 <krishna.moorthy6@wipro.com>2020-04-09 19:57:59 +0530
commitaa08b5c23a92f435159f01f05f99d4829f62da88 (patch)
treed65f7c1bb3120b92b6d19596cfdd7a9fe77c94f3
parent21ce5ae0b966c98f7f80676ec49cbe27d5e64587 (diff)
Fix python3 migration issue in solver
Issue-ID: OPTFRA-728 Signed-off-by: krishnaa96 <krishna.moorthy6@wipro.com> Change-Id: I3b2640acef68fe060e160c939c5b07ef617f89cf
-rw-r--r--conductor/conductor/solver/service.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/conductor/conductor/solver/service.py b/conductor/conductor/solver/service.py
index 7643a70..3d0d8fa 100644
--- a/conductor/conductor/solver/service.py
+++ b/conductor/conductor/solver/service.py
@@ -545,7 +545,7 @@ class SolverService(cotyledon.Service):
m_hpa_score = resource.get("hpa_score", 0)
m_svc_name = p.template['parameters'].get(
'service_name', 'N/A')
- for vnfc, flavor in resource.get("flavor_map").iteritems():
+ for vnfc, flavor in resource.get("flavor_map").items():
PC.VNF_COMPUTE_PROFILES.labels('ONAP',
m_svc_name,
demand_name,