X-Git-Url: https://osm.etsi.org/gitweb/?p=osm%2FLCM.git;a=blobdiff_plain;f=osm_lcm%2Fns.py;h=6a4a8e6ed0cf5c43bc569b2101ec54833fa3ec6f;hp=cb281e45879c1b0f91932c7118a079df7749657a;hb=85d73a6a9c2d5a01ab010eed6079f243b787e72a;hpb=874f7d282d0aa78800403edb7b1232e0f115454a 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(