Remove redundant MilliValue call in GetRawMetric for podautoscaler,

which has no functional impact.
This commit is contained in:
Logan Zhai 2025-06-24 14:06:21 +00:00
parent 89b1db79d7
commit a352bf8815

View file

@ -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