chore(mgmt): remove needless lines

This commit is contained in:
JianBo He 2021-01-29 17:57:12 +08:00 committed by JianBo He
parent 3973c93534
commit 1aefee01c2
1 changed files with 1 additions and 8 deletions

View File

@ -72,8 +72,7 @@
]).
%% Routes
-export([ list_routes/0
, lookup_routes/1
-export([ lookup_routes/1
]).
%% PubSub
@ -421,12 +420,6 @@ lookup_subscriptions(Node, ClientId) ->
%% Routes
%%--------------------------------------------------------------------
list_routes() ->
case check_row_limit([emqx_route]) of
false -> throw(max_row_limit);
ok -> ets:tab2list(emqx_route)
end.
lookup_routes(Topic) ->
emqx_router:lookup_routes(Topic).