From 76ba923c9c5696a09ad9b2ac10ff7f5660078549 Mon Sep 17 00:00:00 2001 From: endika Date: Mon, 21 Jun 2021 18:55:07 +0200 Subject: [PATCH] Fix 1582 : deploy juju units = number-of-instances Change-Id: I938715344294150ed99da719cae4efb0d1bf975a Signed-off-by: endika --- osm_lcm/ns.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/osm_lcm/ns.py b/osm_lcm/ns.py index cb281e4..6a4a8e6 100644 --- a/osm_lcm/ns.py +++ b/osm_lcm/ns.py @@ -2390,9 +2390,7 @@ class NsLcm(LcmBase): deploy_params_vdu["OSM"] = get_osm_params( db_vnfr, vdu_id, vdu_count_index=0 ) - vdud_count = get_vdu_profile(vnfd, vdu_id).get( - "max-number-of-instances", 1 - ) + vdud_count = get_number_of_instances(vnfd, vdu_id) self.logger.debug("VDUD > {}".format(vdud)) self.logger.debug( -- 2.25.1