Skip to content

Commit

Permalink
chore: add some comment for make_request_to_vault function (#8420)
Browse files Browse the repository at this point in the history
Co-authored-by: soulbird <zhaothree@gmail.com>
  • Loading branch information
soulbird and soulbird authored Dec 2, 2022
1 parent 2f042ee commit 797bc7d
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion apisix/kms/vault.lua
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,12 @@ local _M = {
schema = schema
}


-- This code is copied from apisix/core/vault.lua.
-- The functions in apisix/core/vault.lua are currently only used in the jwt-auth plugin,
-- and it is not suitable to be placed in the core module of APISIX.
--
-- When KMS is fully functional, we will remove apisix/core/vault.lua.
--
local function make_request_to_vault(conf, method, key, data)
local httpc = http.new()
-- config timeout or default to 5000 ms
Expand Down

0 comments on commit 797bc7d

Please sign in to comment.