Skip to content

Commit

Permalink
fix: fix code
Browse files Browse the repository at this point in the history
  • Loading branch information
oowl committed May 6, 2024
1 parent 65bed38 commit 56abb1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kong/pdk/log.lua
Original file line number Diff line number Diff line change
Expand Up @@ -815,7 +815,7 @@ do
end
end

local upstream_status = ctx.buffered_status or tonumber(sub(var.upstream_status or "", -3))
local upstream_status = ctx.buffered_status or var.upstream_status or ""

local response_source = okong.response.get_source(ongx.ctx)
local response_source_name = TYPE_NAMES[response_source]
Expand Down

0 comments on commit 56abb1e

Please sign in to comment.