diff --git a/pkg/cache/ttl.go b/pkg/cache/ttl.go index b9813cb8..383720a0 100644 --- a/pkg/cache/ttl.go +++ b/pkg/cache/ttl.go @@ -175,7 +175,7 @@ func (m *TTLMap) Get(k string) (interface{}, time.Time, error) { return nil, time.Now(), err } - return itv, expires, err + return itv, expires, nil } func (m *TTLMap) get(k string) (interface{}, time.Time, error) {