Merge pull request #8538 from zhongwencool/listener-api-nodes

fix: ensure /listeners API return all node's status
This commit is contained in:
zhongwencool 2022-07-21 17:32:06 +08:00 committed by GitHub
commit 5fbf6734a5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -549,7 +549,7 @@ format_status(Key, Node, Listener, Acc) ->
NodeStatus = NodeStatus =
case maps:find(Node, NodeStatus0) of case maps:find(Node, NodeStatus0) of
error -> error ->
#{ NodeStatus0#{
Node => #{ Node => #{
max_connections => MaxConnections, max_connections => MaxConnections,
current_connections => CurrentConnections current_connections => CurrentConnections