mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-08-26 16:19:48 +08:00
etcd conf
This commit is contained in:
parent
4eb5df3f28
commit
4709e536ee
@ -161,7 +161,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))
|
fmt.Println("start register", secretMD5, GetPrefix(config.Config.Etcd.EtcdSchema, config.ConfName), confBytes)
|
||||||
registerConf(config.ConfName, string(confBytes))
|
registerConf(config.ConfName, "xxxx")
|
||||||
fmt.Println("etcd register conf ok")
|
fmt.Println("etcd register conf ok")
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user