Skip to content

Commit

Permalink
style(secret): change the log logic
Browse files Browse the repository at this point in the history
  • Loading branch information
HuanXin-Chen committed Aug 7, 2024
1 parent 8a9e756 commit d3237c8
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions apisix/secret/aws.lua
Original file line number Diff line number Diff line change
Expand Up @@ -129,11 +129,8 @@ local function get(conf, key)
end

local sub_key = idx and sub(key, idx + 1) or nil
if not sub_key then
core.log.info("main: ", main_key)
else
core.log.info("main: ", main_key, " sub: ", sub_key)
end

core.log.info("main: ", main_key, sub_key and ", sub: " .. sub_key or "")

local res, err = make_request_to_aws(conf, main_key)
if not res then
Expand Down

0 comments on commit d3237c8

Please sign in to comment.