Merge pull request #6654 from emqx/fix-unknown-calls

fix: rm unknown call (`ct:pal`)
This commit is contained in:
Thales Macedo Garitezi 2022-01-06 14:12:53 -03:00 committed by GitHub
commit 80a06c7201
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 3 deletions

View File

@ -162,9 +162,7 @@ pre_config_update(_, {enable, Name, Enable}, OldConf) ->
case replace_conf(Name,
fun(Conf) -> Conf#{<<"enable">> => Enable} end, OldConf) of
not_found -> {error, not_found};
NewConf ->
ct:pal(">>>> enable Name:~p Enable:~p, New:~p~n", [Name, Enable, NewConf]),
{ok, NewConf}
NewConf -> {ok, NewConf}
end.
post_config_update(_KeyPath, UpdateReq, NewConf, _OldConf, _AppEnvs) ->