etcd conf

This commit is contained in:
wangchuxiao 2022-11-14 19:19:56 +08:00
parent 4eb5df3f28
commit 4709e536ee

View File

@ -161,7 +161,7 @@ func RegisterConf() {
if err != nil {
panic(err.Error())
}
fmt.Println("start register", secretMD5, GetPrefix(config.Config.Etcd.EtcdSchema, config.ConfName))
registerConf(config.ConfName, string(confBytes))
fmt.Println("start register", secretMD5, GetPrefix(config.Config.Etcd.EtcdSchema, config.ConfName), confBytes)
registerConf(config.ConfName, "xxxx")
fmt.Println("etcd register conf ok")
}