Skip to content

Commit

Permalink
Update controllers/schedulingpolicy_controller.go
Browse files Browse the repository at this point in the history
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
  • Loading branch information
eedorenko and Copilot authored Dec 16, 2024
1 parent bd85029 commit 1052c15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion controllers/schedulingpolicy_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ func (r *SchedulingPolicyReconciler) SetupWithManager(mgr ctrl.Manager) error {
return err
}

// Add the field index for the environmrnt in the deployment target
// Add the field index for the environment in the deployment target
if err := mgr.GetFieldIndexer().IndexField(context.Background(), &schedulerv1alpha1.DeploymentTarget{}, EnvironmentField, func(rawObj client.Object) []string {
return []string{rawObj.(*schedulerv1alpha1.DeploymentTarget).Spec.Environment}
}); err != nil {
Expand Down

0 comments on commit 1052c15

Please # to comment.