Skip to content

Commit

Permalink
Formatting fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
mnaser committed Jun 11, 2024
1 parent 69630d0 commit b33902e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion magnum_cluster_api/objects.py
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,9 @@ def for_magnum_cluster(
def for_magnum_cluster_or_none(
cls, api: pykube.HTTPClient, cluster: magnum_objects.Cluster
) -> "Cluster":
return cls.objects(api, namespace="magnum-system").get_or_none(name=cluster.stack_id)
return cls.objects(api, namespace="magnum-system").get_or_none(
name=cluster.stack_id
)

def get_machine_deployment_index(self, name: str) -> int:
for i, machine_deployment in enumerate(
Expand Down

0 comments on commit b33902e

Please sign in to comment.