mirror of
https://github.com/prometheus/prometheus.git
synced 2025-03-05 20:59:13 -08:00
Merge pull request #46 from mattbostock/patch-1
db: Fix typo: reference
This commit is contained in:
commit
72dd055cde
2
db.go
2
db.go
|
@ -518,7 +518,7 @@ func (a *dbAppender) Add(lset labels.Labels, t int64, v float64) (uint64, error)
|
||||||
return 0, err
|
return 0, err
|
||||||
}
|
}
|
||||||
a.samples++
|
a.samples++
|
||||||
// Store last byte of sequence number in 3rd byte of refernece.
|
// Store last byte of sequence number in 3rd byte of reference.
|
||||||
return ref | (uint64(h.meta.Sequence^0xff) << 40), nil
|
return ref | (uint64(h.meta.Sequence^0xff) << 40), nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue