mirror of
https://github.com/prometheus/prometheus.git
synced 2024-12-26 22:19:40 -08:00
Fix a typo in head.go (#553)
Signed-off-by: zhulongcheng <zhulongcheng.me@gmail.com>
This commit is contained in:
parent
8feb67e630
commit
95648b33c4
2
head.go
2
head.go
|
@ -892,7 +892,7 @@ func (h *Head) Delete(mint, maxt int64, ms ...labels.Matcher) error {
|
||||||
if h.wal != nil {
|
if h.wal != nil {
|
||||||
// Although we don't store the stones in the head
|
// Although we don't store the stones in the head
|
||||||
// we need to write them to the WAL to mark these as deleted
|
// we need to write them to the WAL to mark these as deleted
|
||||||
// after a restart while loeading the WAL.
|
// after a restart while loading the WAL.
|
||||||
if err := h.wal.Log(enc.Tombstones(stones, nil)); err != nil {
|
if err := h.wal.Log(enc.Tombstones(stones, nil)); err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue