Merge pull request #7617 from HJianBo/fix-shared-subs

fix(shared-sub): convert group name to binary
This commit is contained in:
Xinyu Liu 2022-04-14 11:08:27 +08:00 committed by GitHub
commit cb1b318312
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -2344,7 +2344,7 @@ end}.
{translation, "emqx.shared_subscription_strategy_per_group", fun(Conf) ->
Conf0 = cuttlefish_variable:filter_by_prefix("broker", Conf),
Groups = lists:filtermap(fun({["broker", Group, "shared_subscription_strategy"], Strategy}) ->
{true, {Group, list_to_binary(Strategy)}};
{true, {list_to_binary(Group), Strategy}};
(_) ->
false
end, Conf0),