mirror of
https://github.com/prometheus/prometheus.git
synced 2024-11-13 17:14:05 -08:00
Merge pull request #15228 from shenpengfeng/main
chore: fix function name in comment
This commit is contained in:
commit
350e0d5bc1
|
@ -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