fix: node parameters

This commit is contained in:
DDDHuang 2021-08-25 11:38:00 +08:00 committed by turtleDeng
parent bafe5bae1c
commit f184cd3d0e
1 changed files with 2 additions and 1 deletions

View File

@ -505,7 +505,8 @@ list(Params) ->
{200, Response}; {200, Response};
Node1 -> Node1 ->
Node = binary_to_atom(Node1, utf8), Node = binary_to_atom(Node1, utf8),
Response = emqx_mgmt_api:node_query(Node, Params, ?CLIENT_QS_SCHEMA, ?query_fun), ParamsWithoutNode = maps:without([<<"node">>], Params),
Response = emqx_mgmt_api:node_query(Node, ParamsWithoutNode, ?CLIENT_QS_SCHEMA, ?query_fun),
{200, Response} {200, Response}
end. end.