Skip to content

Commit a361d25

Browse files
authored
Remove stale TODO
We had async node drain for years now.
1 parent 9c501ed commit a361d25

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

cluster-autoscaler/metrics/metrics.go

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -504,9 +504,7 @@ func UpdateDurationFromStart(label FunctionLabel, start time.Time) {
504504

505505
// UpdateDuration records the duration of the step identified by the label
506506
func UpdateDuration(label FunctionLabel, duration time.Duration) {
507-
// TODO(maciekpytel): remove second condition if we manage to get
508-
// asynchronous node drain
509-
if duration > LogLongDurationThreshold && label != ScaleDown {
507+
if duration > LogLongDurationThreshold {
510508
klog.V(4).Infof("Function %s took %v to complete", label, duration)
511509
}
512510
functionDuration.WithLabelValues(string(label)).Observe(duration.Seconds())

0 commit comments

Comments
 (0)