mirror of
https://github.com/prometheus/prometheus.git
synced 2026-05-28 04:02:21 -04:00
Merge pull request #15338 from bboreham/cosmetic-tsdb
[COMMENT] Remove duplicate line
This commit is contained in:
commit
02aa6d1de6
1 changed files with 0 additions and 1 deletions
|
|
@ -27,7 +27,6 @@ import (
|
|||
|
||||
const testMaxSize int = 32
|
||||
|
||||
// Formulas chosen to make testing easy.
|
||||
// Formulas chosen to make testing easy.
|
||||
func valEven(pos int) int64 { return int64(pos*2 + 2) } // s[0]=2, s[1]=4, s[2]=6, ..., s[31]=64 - Predictable pre-existing values
|
||||
func valOdd(pos int) int64 { return int64(pos*2 + 1) } // s[0]=1, s[1]=3, s[2]=5, ..., s[31]=63 - New values will interject at chosen position because they sort before the pre-existing vals.
|
||||
|
|
|
|||
Loading…
Reference in a new issue