Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 5e25e8eccc |
@@ -13,7 +13,7 @@ import (
|
||||
|
||||
func Etcd(cfg *conf.EtcdConf, cli *clientv3.Client) {
|
||||
if cfg == nil || len(cfg.Endpoints) == 0 {
|
||||
panic("Etcd endpoints is Empty!")
|
||||
return
|
||||
}
|
||||
|
||||
etcdCfg := clientv3.Config{
|
||||
|
||||
Reference in New Issue
Block a user