From 93a6d8be50ba8c7a674ac06be61c3282b647d2fe Mon Sep 17 00:00:00 2001 From: okozachenko1203 Date: Thu, 17 Nov 2022 03:08:45 +1100 Subject: [PATCH] Fix param --- magnum_cluster_api/driver.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/magnum_cluster_api/driver.py b/magnum_cluster_api/driver.py index c20ea9e1..0815a9c2 100644 --- a/magnum_cluster_api/driver.py +++ b/magnum_cluster_api/driver.py @@ -235,7 +235,7 @@ def update_nodegroup_status(self, context, cluster, nodegroup): # NOTE(Oleks): We need to keep this until # https://github.com/kubernetes-sigs/cluster-api/pull/7088 is fixed. resources.set_autoscaler_metadata_in_machinedeployment( - self.k8s_api, cluster + self.k8s_api, cluster, nodegroup ) nodegroup.save()