This is an automated email from the ASF dual-hosted git repository.

shuai pushed a commit to branch test
in repository https://gitbox.apache.org/repos/asf/answer.git

commit ed543e8825195d72d4d5eab1d12ec63d6d588de3
Author: Sonui <[email protected]>
AuthorDate: Wed May 7 23:46:39 2025 +0800

    fix(plugin): set params.Value in Get method to ensure correct value 
retrieval
---
 plugin/kv_storage.go | 1 +
 1 file changed, 1 insertion(+)

diff --git a/plugin/kv_storage.go b/plugin/kv_storage.go
index 9b449f8f..d1ed3eaa 100644
--- a/plugin/kv_storage.go
+++ b/plugin/kv_storage.go
@@ -164,6 +164,7 @@ func (kv *KVOperator) Get(ctx context.Context, params 
KVParams) (string, error)
                return "", ErrKVKeyNotFound
        }
 
+       params.Value = data.Value
        kv.setCache(ctx, params)
 
        return data.Value, nil

Reply via email to