Skip to content

Commit

Permalink
some comments
Browse files Browse the repository at this point in the history
  • Loading branch information
chronolaw committed Oct 11, 2024
1 parent 98af89e commit 6595824
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion kong/clustering/services/sync/rpc.lua
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ function _M:init_cp(manager)
-- CP
-- Method: kong.sync.v2.get_delta
-- Params: versions: list of current versions of the database
-- { { namespace = "default", current_version = 1000, }, }
-- { { namespace = "default", version = 1000, }, }
local purge_delay = manager.conf.cluster_data_plane_purge_delay

local function gen_delta_result(res, wipe)
Expand All @@ -69,6 +69,7 @@ function _M:init_cp(manager)
return nil, "default namespace does not exist inside params"
end

-- { { namespace = "default", version = 1000, }, }
local default_namespace_version = default_namespace.version

-- XXX TODO: follow update_sync_status() in control_plane.lua
Expand Down

0 comments on commit 6595824

Please sign in to comment.