mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-07-19 07:25:19 +00:00
Remove redundant MilliValue call in GetRawMetric for podautoscaler,
which has no functional impact.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user