From babc2874a4ef64c7bbda06e00424e68026f637a0 Mon Sep 17 00:00:00 2001 From: skiffer-git <44203734@qq.com> Date: Sat, 11 May 2024 10:09:40 +0800 Subject: [PATCH] add etcd --- pkg/common/discoveryregister/discoveryregister.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/common/discoveryregister/discoveryregister.go b/pkg/common/discoveryregister/discoveryregister.go index 31bee9267..c2deb6cf2 100644 --- a/pkg/common/discoveryregister/discoveryregister.go +++ b/pkg/common/discoveryregister/discoveryregister.go @@ -46,7 +46,7 @@ func NewDiscoveryRegister(zookeeperConfig *config.ZooKeeper, share *config.Share case kubenetesConst: return kubernetes.NewK8sDiscoveryRegister(share.RpcRegisterName.MessageGateway) case etcdConst: - return getcd.NewSvcDiscoveryRegistry("openim", []string{"http://localhost:2379"}) + return getcd.NewSvcDiscoveryRegistry("etcd", []string{"http://localhost:2379"}) case directConst: //return direct.NewConnDirect(config) default: