pull/455/head
wenxu12345 3 years ago committed by Xinwei Xiong(cubxxw-openim)
parent 3debc27227
commit 36c6a3b41b

@ -49,7 +49,7 @@ func NewResolver(schema, etcdAddr, serviceName string) (*Resolver, error) {
//conn, err := grpc.DialContext(ctx, GetPrefix(schema, serviceName),
// grpc.WithDefaultServiceConfig(fmt.Sprintf(`{"LoadBalancingPolicy": "%s"}`, roundrobin.Name)),
// grpc.WithInsecure())
log.Debug("", "etcd key ", GetPrefix(schema, serviceName), "value ", *r.grpcClientConn)
log.Debug("", "etcd key ", GetPrefix(schema, serviceName))
conn, err := grpc.Dial(
GetPrefix(schema, serviceName),

Loading…
Cancel
Save