fix: default override_to is cluster

This commit is contained in:
Zhongwen Deng 2022-09-01 09:25:23 +08:00
parent 5718b28eeb
commit 7bb592a2e1
1 changed files with 1 additions and 1 deletions

View File

@ -476,7 +476,7 @@ read_override_conf(#{} = Opts) ->
override_conf_file(Opts) when is_map(Opts) -> override_conf_file(Opts) when is_map(Opts) ->
Key = Key =
case maps:get(override_to, Opts, local) of case maps:get(override_to, Opts, cluster) of
local -> local_override_conf_file; local -> local_override_conf_file;
cluster -> cluster_override_conf_file cluster -> cluster_override_conf_file
end, end,