Przeglądaj źródła

feat: remove node.etc_dir config

Zhongwen Deng 3 lat temu
rodzic
commit
6de7881569

+ 2 - 1
CHANGES-5.0.md

@@ -7,7 +7,8 @@
 
 
 ## Enhancements
 ## Enhancements
 
 
-* change the `/gateway` API path to plural form. [#8823](https://github.com/emqx/emqx/pull/8823)
+* Change the `/gateway` API path to plural form. [#8823](https://github.com/emqx/emqx/pull/8823)
+* Remove `node.etc_dir` from emqx.conf. [#8892](https://github.com/emqx/emqx/pull/8892)
 
 
 # 5.0.7
 # 5.0.7
 
 

+ 0 - 1
apps/emqx_conf/etc/emqx_conf.conf

@@ -12,7 +12,6 @@ node {
   name = "emqx@127.0.0.1"
   name = "emqx@127.0.0.1"
   cookie = emqxsecretcookie
   cookie = emqxsecretcookie
   data_dir = "{{ platform_data_dir }}"
   data_dir = "{{ platform_data_dir }}"
-  etc_dir = "{{ platform_etc_dir }}"
 }
 }
 
 
 log {
 log {

+ 0 - 8
apps/emqx_conf/src/emqx_conf_schema.erl

@@ -536,14 +536,6 @@ fields("node") ->
                     desc => ?DESC(node_applications)
                     desc => ?DESC(node_applications)
                 }
                 }
             )},
             )},
-        {"etc_dir",
-            sc(
-                string(),
-                #{
-                    desc => ?DESC(node_etc_dir),
-                    'readOnly' => true
-                }
-            )},
         {"cluster_call",
         {"cluster_call",
             sc(
             sc(
                 ?R_REF("cluster_call"),
                 ?R_REF("cluster_call"),