test: rename module from emqx_map_lib to emqx_utils_maps

This commit is contained in:
Zhongwen Deng 2023-04-15 06:56:33 +08:00
parent 494ffe86ad
commit 8461551f51
1 changed files with 2 additions and 2 deletions

View File

@ -159,7 +159,7 @@ t_global_zone(_Config) ->
?assertEqual(2, emqx_utils_maps:deep_get([<<"max_qos_allowed">>], Mqtt3)),
ok = emqx_config:put_raw([<<"mqtt">>], Mqtt0),
DefaultZones = emqx_map_lib:deep_put([<<"mqtt">>, <<"max_qos_allowed">>], Zones, 2),
DefaultZones = emqx_utils_maps:deep_put([<<"mqtt">>, <<"max_qos_allowed">>], Zones, 2),
{ok, #{}} = update_global_zone(DefaultZones),
#{<<"mqtt">> := Mqtt} = emqx_config:fill_defaults(emqx_schema, #{<<"mqtt">> => #{}}, #{}),
Default = maps:map(
@ -324,7 +324,7 @@ reset_config(Name, Key) ->
read_conf(RootKeys) when is_list(RootKeys) ->
case emqx_config:read_override_conf(#{override_to => cluster}) of
undefined -> undefined;
Conf -> emqx_map_lib:deep_get(RootKeys, Conf, undefined)
Conf -> emqx_utils_maps:deep_get(RootKeys, Conf, undefined)
end;
read_conf(RootKey) ->
read_conf([RootKey]).