Skip to content

Commit

Permalink
unit-test fix
Browse files Browse the repository at this point in the history
  • Loading branch information
thunderboltsid committed Feb 23, 2024
1 parent eadbb49 commit 9e20c07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/context/context.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ func IsControlPlaneMachine(nma *infrav1.NutanixMachine) bool {
if nma == nil {
return false
}
_, ok := nma.GetLabels()[capiv1.MachineControlPlaneLabel]
_, ok := nma.GetLabels()[capiv1.MachineControlPlaneNameLabel]
return ok
}

Expand Down

0 comments on commit 9e20c07

Please sign in to comment.