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 10, 2025
1 parent 3e1faac commit c65adf4
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 @@ -101,7 +101,7 @@ function _M:init_cp(manager)
end

if default_namespace_version == 0 or
default_namespace_version < latest_version then
default_namespace_version ~= latest_version then
return full_sync_result()
end

Expand Down

0 comments on commit c65adf4

Please sign in to comment.