From 5f7ddb97e2ba6cb9cbbc6b6b6b9cf5065c43b6f7 Mon Sep 17 00:00:00 2001 From: caffix Date: Thu, 21 Nov 2024 22:57:28 -0500 Subject: [PATCH] fixed the Close method --- cache/cache.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cache/cache.go b/cache/cache.go index ffe51b3..cb54d38 100644 --- a/cache/cache.go +++ b/cache/cache.go @@ -52,7 +52,7 @@ func (c *Cache) Close() error { time.Sleep(2 * time.Second) } - return nil + return c.cache.Close() } // GetDBType implements the Repository interface.