mirror of
https://github.com/prometheus/prometheus
synced 2024-12-26 08:33:06 +00:00
Fix diskFrontier.ContainsFingerprint() return value.
This commit is contained in:
parent
47ce7ad302
commit
a224dda9f0
@ -39,7 +39,7 @@ func (f *diskFrontier) String() string {
|
||||
}
|
||||
|
||||
func (f *diskFrontier) ContainsFingerprint(fingerprint model.Fingerprint) bool {
|
||||
return fingerprint.Less(f.firstFingerprint) || f.lastFingerprint.Less(fingerprint)
|
||||
return !(fingerprint.Less(f.firstFingerprint) || f.lastFingerprint.Less(fingerprint))
|
||||
}
|
||||
|
||||
func newDiskFrontier(i iterator) (d *diskFrontier, err error) {
|
||||
|
Loading…
Reference in New Issue
Block a user