From 8c553da72b94b15ba5c9ae392126a08e4d1fb604 Mon Sep 17 00:00:00 2001 From: Georgy Sychev Date: Tue, 12 Apr 2022 18:13:34 +0400 Subject: [PATCH] fix(shared): group strategies are binaries now --- priv/emqx.schema | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/priv/emqx.schema b/priv/emqx.schema index 944541d76..f48386461 100644 --- a/priv/emqx.schema +++ b/priv/emqx.schema @@ -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),