diff --git a/internal/cmd/grpc.go b/internal/cmd/grpc.go index 1f8aaebcbf..8ec17a83d2 100644 --- a/internal/cmd/grpc.go +++ b/internal/cmd/grpc.go @@ -519,8 +519,8 @@ func getCache(ctx context.Context, cfg *config.Config) (cache.Cacher, errFunc, e cacheErr = err return } - cacheFunc = func(ctx context.Context) error { - return rdb.Shutdown(ctx).Err() + cacheFunc = func(_ context.Context) error { + return rdb.Close() } status := rdb.Ping(ctx)