Skip to content

Commit 9927911

Browse files
committed
fix(plugin): set params.Value in Get method to ensure correct value retrieval
1 parent 67c8073 commit 9927911

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

plugin/kv_storage.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,7 @@ func (kv *KVOperator) Get(ctx context.Context, params KVParams) (string, error)
164164
return "", ErrKVKeyNotFound
165165
}
166166

167+
params.Value = data.Value
167168
kv.setCache(ctx, params)
168169

169170
return data.Value, nil

0 commit comments

Comments
 (0)