From 69d47a4d3a3934f8c0a58a523e6727ff448b6190 Mon Sep 17 00:00:00 2001 From: chronolaw Date: Thu, 2 Jan 2025 15:37:11 +0800 Subject: [PATCH] clean --- kong/clustering/services/sync/rpc.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kong/clustering/services/sync/rpc.lua b/kong/clustering/services/sync/rpc.lua index a81606ad781..c84a10ecd76 100644 --- a/kong/clustering/services/sync/rpc.lua +++ b/kong/clustering/services/sync/rpc.lua @@ -195,7 +195,7 @@ local function do_sync() local deltas = ns_delta.deltas if not deltas then - ngx_log(ngx_ERR, "sync get_delta error: deltas is null") + return nil, "sync get_delta error: deltas is null" end if isempty(deltas) then