Skip to content

Commit 8b9624d

Browse files
authored
Merge pull request #8185 from kubernetes/x13n-patch-11
Remove stale TODO
2 parents 70f7931 + a361d25 commit 8b9624d

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)