From a224dda9f0407d7dff729ecd8db9da200338feac Mon Sep 17 00:00:00 2001 From: Julius Volz Date: Thu, 14 Mar 2013 18:29:42 -0700 Subject: [PATCH] Fix diskFrontier.ContainsFingerprint() return value. --- storage/metric/frontier.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/storage/metric/frontier.go b/storage/metric/frontier.go index d6d612adb..3f3a4d7fe 100644 --- a/storage/metric/frontier.go +++ b/storage/metric/frontier.go @@ -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) {