etcd conf

This commit is contained in:
wangchuxiao
2022-11-14 19:24:20 +08:00
parent 7a5a308c9b
commit 6484b796cd
+2 -2
View File
@@ -156,7 +156,7 @@ func RegisterConf() {
if err != nil {
panic(err.Error())
}
fmt.Println("start register", secretMD5, GetPrefix(config.Config.Etcd.EtcdSchema, config.ConfName), confBytes)
registerConf(config.ConfName, "xxxx")
fmt.Println("start register", secretMD5, GetPrefix(config.Config.Etcd.EtcdSchema, config.ConfName))
registerConf(GetPrefix(config.Config.Etcd.EtcdSchema, config.ConfName), string(confBytes))
fmt.Println("etcd register conf ok")
}