From a352bf8815dbbf3828806650ecc600ebf8a39f56 Mon Sep 17 00:00:00 2001 From: Logan Zhai Date: Tue, 24 Jun 2025 14:06:21 +0000 Subject: [PATCH] Remove redundant MilliValue call in GetRawMetric for podautoscaler, which has no functional impact. --- pkg/controller/podautoscaler/metrics/client.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkg/controller/podautoscaler/metrics/client.go b/pkg/controller/podautoscaler/metrics/client.go index 03ecc22c443..931af646eef 100644 --- a/pkg/controller/podautoscaler/metrics/client.go +++ b/pkg/controller/podautoscaler/metrics/client.go @@ -164,8 +164,6 @@ func (c *customMetricsClient) GetRawMetric(metricName string, namespace string, Window: window, Value: int64(m.Value.MilliValue()), } - - m.Value.MilliValue() } timestamp := metrics.Items[0].Timestamp.Time