From 6595824c7da7379be222da8bf0f11130ce1e6356 Mon Sep 17 00:00:00 2001 From: chronolaw Date: Fri, 11 Oct 2024 10:56:47 +0800 Subject: [PATCH] some comments --- kong/clustering/services/sync/rpc.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/kong/clustering/services/sync/rpc.lua b/kong/clustering/services/sync/rpc.lua index c60005e0a09d7..88a6f22c74e86 100644 --- a/kong/clustering/services/sync/rpc.lua +++ b/kong/clustering/services/sync/rpc.lua @@ -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) @@ -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