Minor fix in generate_kdu_instance_name 51/10451/1
authorDavid Garcia <david.garcia@canonical.com>
Thu, 4 Mar 2021 12:03:06 +0000 (13:03 +0100)
committerDavid Garcia <david.garcia@canonical.com>
Thu, 4 Mar 2021 12:03:06 +0000 (13:03 +0100)
Change-Id: I9d545eef82cb76cdd8a2effd22121904f40e4262
Signed-off-by: David Garcia <david.garcia@canonical.com>
n2vc/k8s_helm_base_conn.py

index 0298831..a79f038 100644 (file)
@@ -1360,7 +1360,7 @@ class K8sHelmBaseConnector(K8sConnector):
 
     @staticmethod
     def generate_kdu_instance_name(**kwargs):
-        chart_name = kwargs["chart_name"]
+        chart_name = kwargs["kdu_model"]
         # check embeded chart (file or dir)
         if chart_name.startswith("/"):
             # extract file or directory name