Add missing parameter to generate_kdu_instance_name 59/10459/1
authorDavid Garcia <david.garcia@canonical.com>
Fri, 5 Mar 2021 14:01:54 +0000 (15:01 +0100)
committerDavid Garcia <david.garcia@canonical.com>
Fri, 5 Mar 2021 14:01:54 +0000 (15:01 +0100)
In the commit c4da25cc that fixes 1412 I forgot to add the kdu_name
variable.

Change-Id: I12697d66e590660fe27b3a5abd32634b509a4fbd
Signed-off-by: David Garcia <david.garcia@canonical.com>
osm_lcm/ns.py

index a006f8e..ca85661 100644 (file)
@@ -2195,6 +2195,7 @@ class NsLcm(LcmBase):
             kdu_instance = self.k8scluster_map[k8sclustertype].generate_kdu_instance_name(
                 db_dict=db_dict_install,
                 kdu_model=k8s_instance_info["kdu-model"],
+                kdu_name=k8s_instance_info["kdu-name"],
             )
             self.update_db_2("nsrs", nsr_id, {nsr_db_path + ".kdu-instance": kdu_instance})
             await self.k8scluster_map[k8sclustertype].install(