diff --git a/pkg/test/fakeindex.go b/pkg/test/fakeindex.go index a15fba1d1..ca4366270 100644 --- a/pkg/test/fakeindex.go +++ b/pkg/test/fakeindex.go @@ -37,7 +37,7 @@ type FakeIndex struct { path map[string]*search.Path // "\0\0" -> path cllk sync.Mutex - clock int64 + clock int64 // TODO(bradfitz): make this a time.Time } var _ search.Index = (*FakeIndex)(nil) @@ -58,7 +58,7 @@ func NewFakeIndex() *FakeIndex { func (fi *FakeIndex) nextDate() time.Time { fi.cllk.Lock() - fi.clock++ + fi.clock++ // TODO: fi.clock.Add(1 * time.Second) clock := fi.clock fi.cllk.Unlock() return time.Unix(clock, 0).UTC()