소스 검색

fix(emqx_conf_app): call the right API to retrieve core nodes

Zaiming (Stone) Shi 3 년 전
부모
커밋
196ca43fbb
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      apps/emqx_conf/src/emqx_conf_app.erl

+ 1 - 1
apps/emqx_conf/src/emqx_conf_app.erl

@@ -93,7 +93,7 @@ init_conf() ->
     emqx_app:set_init_config_load_done().
 
 cluster_nodes() ->
-    mria_mnesia:running_nodes() -- [node()].
+    mria:cluster_nodes(cores) -- [node()].
 
 copy_override_conf_from_core_node() ->
     case cluster_nodes() of