From 7d6a389f3724c03b0027603ee2e46937c5784d04 Mon Sep 17 00:00:00 2001 From: Aapo Talvensaari Date: Tue, 24 Oct 2023 14:53:15 +0200 Subject: [PATCH] chore(vault): fix docstring of get_cache_value_and_ttl Signed-off-by: Aapo Talvensaari --- kong/pdk/vault.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kong/pdk/vault.lua b/kong/pdk/vault.lua index 7023d55cbc88..08f3a0d03a1c 100644 --- a/kong/pdk/vault.lua +++ b/kong/pdk/vault.lua @@ -742,14 +742,14 @@ local function new(self) -- Function `get_cache_value_and_ttl` returns a value for caching and its ttl -- -- @local - -- @function get_from_vault + -- @function get_cache_value_and_ttl -- @tparam string value the vault returned value for a reference -- @tparam table config the configuration settings to be used -- @tparam[opt] number ttl the possible vault returned ttl -- @treturn string value to be stored in shared dictionary -- @treturn number shared dictionary ttl -- @treturn number lru ttl - -- @usage local value, err = get_from_vault(reference, strategy, config, cache_key, parsed_reference) + -- @usage local cache_value, shdict_ttl, lru_ttl = get_cache_value_and_ttl(value, config, ttl) local function get_cache_value_and_ttl(value, config, ttl) local cache_value, shdict_ttl, lru_ttl if value then