From 659fd00c53cd248e2e2e9871197948cc5c45c165 Mon Sep 17 00:00:00 2001 From: lash Date: Wed, 2 Oct 2024 23:59:41 +0100 Subject: [PATCH] Remove noop get override in timed db --- internal/storage/timed.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/internal/storage/timed.go b/internal/storage/timed.go index eedf00c..cf05dbb 100644 --- a/internal/storage/timed.go +++ b/internal/storage/timed.go @@ -92,11 +92,6 @@ func(tib *TimedDb) Put(ctx context.Context, key []byte, val []byte) error { return nil } -func(tib *TimedDb) Get(ctx context.Context, key []byte) ([]byte, error) { - v, err := tib.Db.Get(ctx, key) - return v, err -} - func(tib *TimedDb) Stale(ctx context.Context, pfx uint8, sessionId string, key []byte) bool { tib.tdb.SetSession("") b := db.ToSessionKey(pfx, []byte(sessionId), key)