mirror of
https://github.com/prometheus/prometheus.git
synced 2024-12-24 21:24:05 -08:00
Fix some typo in comments (#6730)
Signed-off-by: Kim Bao Long <longkb@vn.fujitsu.com>
This commit is contained in:
parent
3c4c01eae2
commit
1ebcf3d5e4
|
@ -981,7 +981,7 @@ func TestTombstoneCleanFail(t *testing.T) {
|
||||||
blockDir := createBlock(t, db.Dir(), genSeries(1, 1, 0, 1))
|
blockDir := createBlock(t, db.Dir(), genSeries(1, 1, 0, 1))
|
||||||
block, err := OpenBlock(nil, blockDir, nil)
|
block, err := OpenBlock(nil, blockDir, nil)
|
||||||
testutil.Ok(t, err)
|
testutil.Ok(t, err)
|
||||||
// Add some some fake tombstones to trigger the compaction.
|
// Add some fake tombstones to trigger the compaction.
|
||||||
tomb := tombstones.NewMemTombstones()
|
tomb := tombstones.NewMemTombstones()
|
||||||
tomb.AddInterval(0, tombstones.Interval{Mint: 0, Maxt: 1})
|
tomb.AddInterval(0, tombstones.Interval{Mint: 0, Maxt: 1})
|
||||||
block.tombstones = tomb
|
block.tombstones = tomb
|
||||||
|
|
|
@ -19,7 +19,7 @@ import (
|
||||||
_ "github.com/prometheus/prometheus/tsdb/goversion"
|
_ "github.com/prometheus/prometheus/tsdb/goversion"
|
||||||
)
|
)
|
||||||
|
|
||||||
// This test is is intentionally blank and exists only so `go test` believes
|
// This test is intentionally blank and exists only so `go test` believes
|
||||||
// there is something to test.
|
// there is something to test.
|
||||||
//
|
//
|
||||||
// The blank import above is actually what invokes the test of this package. If
|
// The blank import above is actually what invokes the test of this package. If
|
||||||
|
|
Loading…
Reference in a new issue