Merge pull request #7595 from emqx/per_group_sub_fix

Per group sub fix
This commit is contained in:
Xinyu Liu 2022-04-13 09:12:12 +08:00 committed by GitHub
commit c4b01fc2ce
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, Strategy}};
{true, {Group, list_to_binary(Strategy)}};
(_) ->
false
end, Conf0),