From 0ccf9ba3f196a32adf0f3a9b0b835f2b46b5c0e6 Mon Sep 17 00:00:00 2001 From: Brad Fitzpatrick Date: Sat, 3 Nov 2012 22:27:27 +0100 Subject: [PATCH] some TODOs Change-Id: Ifcc2612ea323347ba78d5cb493ebe9fabd3a10aa --- pkg/test/fakeindex.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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()