From 8b205371bb0aa53941bacc3afc149239ee065692 Mon Sep 17 00:00:00 2001 From: Urle Sistiana <55231606+urlesistiana@users.noreply.github.com> Date: Thu, 6 Oct 2022 07:59:28 +0800 Subject: [PATCH] fixed #520, cache hit but not return --- plugin/executable/cache/cache.go | 1 + 1 file changed, 1 insertion(+) diff --git a/plugin/executable/cache/cache.go b/plugin/executable/cache/cache.go index 98a3bee10..2533d3f1e 100644 --- a/plugin/executable/cache/cache.go +++ b/plugin/executable/cache/cache.go @@ -178,6 +178,7 @@ func (c *cachePlugin) Exec(ctx context.Context, qCtx *query_context.Context, nex if c.whenHit != nil { return c.whenHit.Exec(ctx, qCtx, nil) } + return nil } // cache miss, run the entry and try to store its response.