Skip to content

Commit

Permalink
fix(clustering/rpc): sync if versions dont equal
Browse files Browse the repository at this point in the history
  • Loading branch information
chronolaw committed Jan 12, 2025
1 parent 4ee00b3 commit 5f8781e
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 @@ -119,7 +119,7 @@ function _M:init_cp(manager)

-- string comparison effectively does the same as number comparison
if not is_valid_version(default_namespace_version) or
default_namespace_version < latest_version then
default_namespace_version ~= latest_version then
return full_sync_result()
end

Expand Down

0 comments on commit 5f8781e

Please sign in to comment.