Skip to content

Commit

Permalink
fix(sync): report last synced version
Browse files Browse the repository at this point in the history
  • Loading branch information
StarlightIbuki committed Jan 20, 2025
1 parent 7fd7f04 commit fc5822e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kong/clustering/services/sync/rpc.lua
Original file line number Diff line number Diff line change
Expand Up @@ -402,7 +402,7 @@ function sync_once_impl(premature, retry_count)
local current_version = get_current_version()
if current_version >= latest_notified_version then
ngx_log(ngx_DEBUG, "version already updated")
return
return sync_handler() -- one more call to report CP the latest version synced
end

-- retry if the version is not updated
Expand Down

0 comments on commit fc5822e

Please sign in to comment.