aboutsummaryrefslogtreecommitdiffstats
path: root/lcm/workflows/build_in.py
diff options
context:
space:
mode:
Diffstat (limited to 'lcm/workflows/build_in.py')
-rw-r--r--lcm/workflows/build_in.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lcm/workflows/build_in.py b/lcm/workflows/build_in.py
index 993efbe6..fa267855 100644
--- a/lcm/workflows/build_in.py
+++ b/lcm/workflows/build_in.py
@@ -279,7 +279,7 @@ def confirm_sfc_status(sfc_inst_id):
def create_pnf(pnf_param_json):
if pnf_param_json and len(pnf_param_json) > 0:
pnfs = json.JSONDecoder().decode(pnf_param_json)
- for pnf in pnfs:
+ for pnf in pnfs.itervalues():
uri = "/api/nslcm/v1/pnfs"
method = "POST"
content = json.JSONEncoder().encode(pnf["input"]["content"])