diff --git a/pkg/controller/podautoscaler/horizontal.go b/pkg/controller/podautoscaler/horizontal.go index 1ef6704f3cf..5ec84ef5db2 100644 --- a/pkg/controller/podautoscaler/horizontal.go +++ b/pkg/controller/podautoscaler/horizontal.go @@ -62,7 +62,7 @@ type timestampedRecommendation struct { } type timestampedScaleEvent struct { - replicaChange int32 // positive for scaleUp, negative for scaleDown + replicaChange int32 // absolute value, non-negative timestamp time.Time outdated bool }