Skip to content

Commit

Permalink
fix: incorrect case
Browse files Browse the repository at this point in the history
  • Loading branch information
mnaser committed Dec 22, 2023
1 parent a6a4bf4 commit ab16448
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion magnum_cluster_api/resources.py
Original file line number Diff line number Diff line change
Expand Up @@ -1748,7 +1748,7 @@ def generate_machine_deployments_for_cluster(

machine_deployments = []
for ng in cluster.nodegroups:
if ng.role != "master" and not ng.status.startswith("DELETE"):
if ng.role == "master" or ng.status.startswith("DELETE"):
continue

machine_deployment = {
Expand Down

0 comments on commit ab16448

Please sign in to comment.