Skip to content

Commit

Permalink
Fix linter errors
Browse files Browse the repository at this point in the history
Signed-off-by: Furkat Gofurov <[email protected]>
  • Loading branch information
furkatgofurov7 committed Jan 21, 2025
1 parent 99b1d64 commit 3a6b06e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/rke2/control_plane.go
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ func (c *ControlPlane) NextFailureDomainForScaleUp(ctx context.Context) *string
return nil
}

return capifd.PickFewest(ctx, c.FailureDomains().FilterControlPlane(), c.UpToDateMachines())
return capifd.PickFewest(ctx, c.FailureDomains().FilterControlPlane(), c.Machines, c.UpToDateMachines())
}

// InitialControlPlaneConfig returns a new RKE2ConfigSpec that is to be used for an initializing control plane.
Expand Down

0 comments on commit 3a6b06e

Please sign in to comment.