From 083f223f99e0070d89724ae60125df6bfe2ad3ba Mon Sep 17 00:00:00 2001 From: Asim Aslam Date: Wed, 19 May 2021 14:25:49 +0100 Subject: [PATCH] set the item --- cache/handler/cache.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cache/handler/cache.go b/cache/handler/cache.go index b21c60a..a9ba82f 100644 --- a/cache/handler/cache.go +++ b/cache/handler/cache.go @@ -27,6 +27,9 @@ func (c *Cache) Get(ctx context.Context, req *pb.GetRequest, rsp *pb.GetResponse // set the value item.Value = value + // set the item + rsp.Item = item + return nil }