We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 5e2addd + 7cfd482 commit 73a15d7Copy full SHA for 73a15d7
clientv3/naming/endpoints/endpoints.go
@@ -29,8 +29,7 @@ type Endpoint struct {
29
// Since etcd 3.1
30
Addr string
31
32
- // Metadata is the information associated with Addr, which may be used
33
- // to make load balancing decision.
+ // Metadata is the information associated with Addr.
34
35
Metadata interface{}
36
}
clientv3/naming/resolver/resolver.go
@@ -110,8 +110,7 @@ func convertToGRPCAddress(ups map[string]*endpoints.Update) []gresolver.Address
110
var addrs []gresolver.Address
111
for _, up := range ups {
112
addr := gresolver.Address{
113
- Addr: up.Endpoint.Addr,
114
- Metadata: up.Endpoint.Metadata,
+ Addr: up.Endpoint.Addr,
115
116
addrs = append(addrs, addr)
117
0 commit comments