pull/309/head
wangchuxiao 2 years ago
parent 7a5a308c9b
commit 6484b796cd

@ -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")
}

Loading…
Cancel
Save