From: Pedro Escaleira Date: Sun, 5 Jun 2022 00:29:57 +0000 (+0100) Subject: Bug 2067 fixed X-Git-Tag: v12.0.0rc1~7 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=aa5deb75e23991d357e30d90fbb68c03f6ba5bd4;p=osm%2FN2VC.git Bug 2067 fixed Added the missing resource_name param to the _get_replica_count_instance method call under the method get_scale_count Change-Id: Iae2f437b82993dbbf71b80feb5b208f29c8d7083 Signed-off-by: Pedro Escaleira --- diff --git a/n2vc/k8s_helm_base_conn.py b/n2vc/k8s_helm_base_conn.py index ed3ea1c..dd2116c 100644 --- a/n2vc/k8s_helm_base_conn.py +++ b/n2vc/k8s_helm_base_conn.py @@ -753,7 +753,10 @@ class K8sHelmBaseConnector(K8sConnector): ) replicas = await self._get_replica_count_instance( - kdu_instance, instance_info["namespace"], paths["kube_config"] + kdu_instance=kdu_instance, + namespace=instance_info["namespace"], + kubeconfig=paths["kube_config"], + resource_name=resource_name, ) # Get default value if scale count is not found from provided values