mirror of
https://github.com/prometheus/prometheus.git
synced 2025-08-05 13:47:10 +02:00
chore: fix function name in comment
Signed-off-by: shenpengfeng <xinhangzhou@icloud.com>
This commit is contained in:
parent
eb3b349024
commit
a44db5f784
@ -626,7 +626,7 @@ func addF(s fSample, buf []fSample, r *sampleRing) []fSample {
|
||||
return buf
|
||||
}
|
||||
|
||||
// addF adds an hSample to a (specialized) hSample buffer.
|
||||
// addH adds an hSample to a (specialized) hSample buffer.
|
||||
func addH(s hSample, buf []hSample, r *sampleRing) []hSample {
|
||||
l := len(buf)
|
||||
// Grow the ring buffer if it fits no more elements.
|
||||
|
Loading…
Reference in New Issue
Block a user