Skip to content

Commit

Permalink
fix: fix cluster status when update done (#322)
Browse files Browse the repository at this point in the history
Co-authored-by: okozachenko1203 <[email protected]>
  • Loading branch information
okozachenko1203 and okozachenko1203 committed Mar 14, 2024
1 parent 0dca80a commit 9c237d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion magnum_cluster_api/driver.py
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ def update_cluster_status(
cluster.status = fields.ClusterStatus.CREATE_COMPLETE
if cluster.status == fields.ClusterStatus.UPDATE_IN_PROGRESS:
cluster.status_reason = None
cluster.status = fields.ClusterStatus.UPDATE_IN_PROGRESS
cluster.status = fields.ClusterStatus.UPDATE_COMPLETE

cluster.save()

Expand Down

0 comments on commit 9c237d1

Please sign in to comment.