mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-04-28 04:48:44 +08:00
etcd conf
This commit is contained in:
parent
7a5a308c9b
commit
6484b796cd
@ -156,7 +156,7 @@ func RegisterConf() {
|
|||||||
if err != nil {
|
if err != nil {
|
||||||
panic(err.Error())
|
panic(err.Error())
|
||||||
}
|
}
|
||||||
fmt.Println("start register", secretMD5, GetPrefix(config.Config.Etcd.EtcdSchema, config.ConfName), confBytes)
|
fmt.Println("start register", secretMD5, GetPrefix(config.Config.Etcd.EtcdSchema, config.ConfName))
|
||||||
registerConf(config.ConfName, "xxxx")
|
registerConf(GetPrefix(config.Config.Etcd.EtcdSchema, config.ConfName), string(confBytes))
|
||||||
fmt.Println("etcd register conf ok")
|
fmt.Println("etcd register conf ok")
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user