Skip to content

Commit

Permalink
clean some logs
Browse files Browse the repository at this point in the history
  • Loading branch information
chronolaw committed Nov 7, 2024
1 parent 21231f3 commit 80e87df
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions kong/clustering/services/sync/rpc.lua
Original file line number Diff line number Diff line change
Expand Up @@ -113,10 +113,7 @@ function _M:init_cp(manager)
end

if isempty(res) then
ngx_log(ngx_DEBUG,
"[kong.sync.v2] no delta for node_id: ", node_id,
", current_version: ", default_namespace_version,
", node is already up to date" )
-- node is already up to date
return gen_delta_result(res, false)
end

Expand Down Expand Up @@ -205,7 +202,7 @@ local function do_sync()
local deltas = ns_delta.deltas

if isempty(deltas) then
ngx_log(ngx_DEBUG, "no delta to sync")
-- no delta to sync
return true
end

Expand Down

0 comments on commit 80e87df

Please sign in to comment.