Fix select emqx_shared_subscription fail

This commit is contained in:
turtled 2018-08-24 11:38:54 +08:00
parent 94d326f398
commit 36647b641f
2 changed files with 2 additions and 2 deletions

View File

@ -97,7 +97,7 @@ pick(SubPids) ->
lists:nth((X rem length(SubPids)) + 1, SubPids).
subscribers(Group, Topic) ->
ets:select(?TAB, [{{shared_subscription, Group, Topic, '$1'}, [], ['$1']}]).
ets:select(?TAB, [{{emqx_shared_subscription, Group, Topic, '$1'}, [], ['$1']}]).
%%-----------------------------------------------------------------------------
%% gen_server callbacks