Skip to content

Commit

Permalink
fix: include nodegroups in COMPLETE status in cluster update job (#427)
Browse files Browse the repository at this point in the history
Co-authored-by: okozachenko1203 <okozachenko1203@users.noreply.github.com>
  • Loading branch information
okozachenko1203 and okozachenko1203 authored Sep 6, 2024
1 parent eafbf71 commit b50b6dc
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 b50b6dc

Please sign in to comment.