fix(emqx_mgmt): fix dialyzer warnings

This commit is contained in:
ayodele.akingbule 2021-01-04 13:43:42 +01:00 committed by Zaiming Shi
parent b9bb88d9eb
commit 30588ac666
1 changed files with 2 additions and 2 deletions

View File

@ -421,9 +421,9 @@ lookup_subscriptions(Node, ClientId) ->
%%--------------------------------------------------------------------
list_routes() ->
case check_row_limit(emqx_route) of
case check_row_limit([emqx_route]) of
false -> throw(max_row_limit);
ok -> lists:append([ets:tab2list(Tab) || Tab <- emqx_route])
ok -> ets:tab2list(emqx_route)
end.
lookup_routes(Topic) ->