etcd conf

This commit is contained in:
wangchuxiao 2022-11-14 19:14:51 +08:00
parent d3751da0e4
commit 4eb5df3f28

View File

@ -162,6 +162,6 @@ func RegisterConf() {
panic(err.Error())
}
fmt.Println("start register", secretMD5, GetPrefix(config.Config.Etcd.EtcdSchema, config.ConfName))
registerConf(GetPrefix(config.Config.Etcd.EtcdSchema, config.ConfName), string(confBytes))
registerConf(config.ConfName, string(confBytes))
fmt.Println("etcd register conf ok")
}