mirror of
https://github.com/prometheus/prometheus.git
synced 2025-01-12 22:37:27 -08:00
fix
Signed-off-by: komisan19 <18901496+komisan19@users.noreply.github.com>
This commit is contained in:
parent
5ab24a06d0
commit
3d84d4d6dc
|
@ -442,8 +442,7 @@ func mostRecentTimestampInMetric(metric pmetric.Metric) pcommon.Timestamp {
|
|||
}
|
||||
|
||||
func maxTimestamp(a, b pcommon.Timestamp) pcommon.Timestamp {
|
||||
resultTimestamp := max(a, b)
|
||||
return resultTimestamp
|
||||
return max(a, b)
|
||||
}
|
||||
|
||||
// addSingleSummaryDataPoint converts pt to len(QuantileValues) + 2 samples.
|
||||
|
|
Loading…
Reference in a new issue