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 4b22ba7 commit 2a456a0
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 = okong.service.response.get_status()
local upstream_status = ctx.buffered_status or tonumber(sub(var.upstream_status or "", -3))

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

0 comments on commit 2a456a0

Please sign in to comment.