Skip to content

Commit

Permalink
asserts
Browse files Browse the repository at this point in the history
  • Loading branch information
chronolaw committed Nov 27, 2024
1 parent 92e2d43 commit 6f3890f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions kong/clustering/rpc/manager.lua
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,10 @@ function _M:_handle_meta_call(c)
list = capabilities_list,
}

-- we are on cp side
assert(self.concentrator)
assert(self.client_info)

-- store DP's ip addr
self.client_info[node_id] = {
ip = ngx_var.remote_addr,
Expand Down

0 comments on commit 6f3890f

Please sign in to comment.