Skip to content

Commit

Permalink
fix: include nodegroups in COMPLETE status in cluster update job
Browse files Browse the repository at this point in the history
  • Loading branch information
okozachenko1203 committed Sep 2, 2024
1 parent eafbf71 commit 1838bc7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions magnum_cluster_api/driver.py
Original file line number Diff line number Diff line change
Expand Up @@ -430,6 +430,8 @@ def update_nodegroups_status(
):
continue

node_groups.append(node_group)

md = objects.MachineDeployment.for_node_group_or_none(
self.k8s_api, cluster, node_group
)
Expand Down Expand Up @@ -499,8 +501,6 @@ def update_nodegroups_status(
node_group.save()
continue

node_groups.append(node_group)

return node_groups

@cluster_lock_wrapper
Expand Down

0 comments on commit 1838bc7

Please sign in to comment.