etcd conf

This commit is contained in:
wangchuxiao
2022-11-14 18:37:42 +08:00
parent 405a60c4f8
commit a556cfcd40
2 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -152,7 +152,7 @@ func registerConf(key, conf string) {
}
func init() {
func RegisterConf() {
bytes, err := yaml.Marshal(config.Config)
if err != nil {
panic(err.Error())