mirror of
https://github.com/prometheus/prometheus.git
synced 2024-12-25 05:34:05 -08: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 a new issue