Skip to content

Commit 6966d04

Browse files
committed
change ndlt to interface
1 parent 5702fde commit 6966d04

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cluster-autoscaler/core/static_autoscaler.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ func NewStaticAutoscaler(
171171

172172
// TODO: Populate the ScaleDownActuator/Planner fields in AutoscalingContext
173173
// during the struct creation rather than here.
174-
var nldt *latencytracker.NodeLatencyTracker
174+
var nldt latencytracker.LatencyTracker
175175
if autoscalingContext.AutoscalingOptions.NodeRemovalLatencyTrackingEnabled {
176176
nldt = latencytracker.NewNodeLatencyTracker()
177177
}

0 commit comments

Comments
 (0)