refactor(config): no need to explicitly remove env metadata

after upgraded to honcon 0.32.0, the env meta is removed
by default.
This commit is contained in:
Zaiming (Stone) Shi 2022-12-14 11:52:54 +01:00
parent 34f7fff97d
commit abef881a73
1 changed files with 2 additions and 2 deletions

View File

@ -575,10 +575,10 @@ load_hocon_file(FileName, LoadType) ->
end.
do_get_raw(Path) ->
hocon_tconf:remove_env_meta(do_get(?RAW_CONF, Path)).
do_get(?RAW_CONF, Path).
do_get_raw(Path, Default) ->
hocon_tconf:remove_env_meta(do_get(?RAW_CONF, Path, Default)).
do_get(?RAW_CONF, Path, Default).
do_get(Type, KeyPath) ->
Ref = make_ref(),