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