Skip to content

Commit

Permalink
fix: correct arg type of cluster object
Browse files Browse the repository at this point in the history
  • Loading branch information
okozachenko1203 committed Aug 20, 2024
1 parent d32869b commit 5c2f9ac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions magnum_cluster_api/resources.py
Original file line number Diff line number Diff line change
Expand Up @@ -2288,7 +2288,7 @@ def create_cluster_class(

def mutate_machine_deployment(
context: context.RequestContext,
cluster: objects.Cluster,
cluster: magnum_objects.Cluster,
node_group: magnum_objects.NodeGroup,
machine_deployment: dict = None,
):
Expand Down Expand Up @@ -2393,7 +2393,7 @@ def mutate_machine_deployment(


def generate_machine_deployments_for_cluster(
context: context.RequestContext, cluster: objects.Cluster
context: context.RequestContext, cluster: magnum_objects.Cluster
) -> list:
machine_deployments = []
for ng in cluster.nodegroups:
Expand Down

0 comments on commit 5c2f9ac

Please sign in to comment.