fix: ensure /listeners API return all node's status

This commit is contained in:
Zhongwen Deng 2022-07-21 15:44:54 +08:00
parent 17bbd627a5
commit f080715ce9
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