fix: rm unknown call (`ct:pal`)
This commit is contained in:
parent
7ea1cf40ae
commit
c882b08b08
|
@ -162,9 +162,7 @@ pre_config_update(_, {enable, Name, Enable}, OldConf) ->
|
||||||
case replace_conf(Name,
|
case replace_conf(Name,
|
||||||
fun(Conf) -> Conf#{<<"enable">> => Enable} end, OldConf) of
|
fun(Conf) -> Conf#{<<"enable">> => Enable} end, OldConf) of
|
||||||
not_found -> {error, not_found};
|
not_found -> {error, not_found};
|
||||||
NewConf ->
|
NewConf -> {ok, NewConf}
|
||||||
ct:pal(">>>> enable Name:~p Enable:~p, New:~p~n", [Name, Enable, NewConf]),
|
|
||||||
{ok, NewConf}
|
|
||||||
end.
|
end.
|
||||||
|
|
||||||
post_config_update(_KeyPath, UpdateReq, NewConf, _OldConf, _AppEnvs) ->
|
post_config_update(_KeyPath, UpdateReq, NewConf, _OldConf, _AppEnvs) ->
|
||||||
|
|
Loading…
Reference in New Issue