From 0f4c0df98ef13c0c71d2de276cbabbc82d959b81 Mon Sep 17 00:00:00 2001 From: bharathguvvala Date: Mon, 21 Oct 2024 11:25:44 +0530 Subject: [PATCH] removed TODO comments --- pkg/scheduler/scheduler.go | 1 - 1 file changed, 1 deletion(-) diff --git a/pkg/scheduler/scheduler.go b/pkg/scheduler/scheduler.go index c7ed04dc8f82..864df518042e 100644 --- a/pkg/scheduler/scheduler.go +++ b/pkg/scheduler/scheduler.go @@ -372,7 +372,6 @@ func (s *Scheduler) doScheduleBinding(namespace, name string) (err error) { metrics.BindingSchedule(string(ScaleSchedule), utilmetrics.DurationInSeconds(start), err) return err } - // TODO: Evaluate in what other scenarios is a fresh rescheduling required ie. when descheduling happens if util.RescheduleRequired(rb.Spec.RescheduleTriggeredAt, rb.Status.LastScheduledTime) { // explicitly triggered reschedule klog.Infof("Reschedule ResourceBinding(%s/%s) as explicitly triggered reschedule", namespace, name)