From 43d7eebe02a00d40a3a8744e65303d061bc1fb47 Mon Sep 17 00:00:00 2001 From: Jun Ouyang Date: Wed, 5 Jun 2024 11:11:53 +0800 Subject: [PATCH] fix: fix code --- kong/pdk/log.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kong/pdk/log.lua b/kong/pdk/log.lua index 367f063e02d5..a4197a449555 100644 --- a/kong/pdk/log.lua +++ b/kong/pdk/log.lua @@ -814,7 +814,7 @@ do end end - local upstream_status = ctx.buffered_status or var.upstream_status or "" + local upstream_status = var.upstream_status or ctx.buffered_status or "" local response_source = okong.response.get_source(ongx.ctx) local response_source_name = TYPE_NAMES[response_source]