MCPcopy
hub / github.com/grpc/grpc-go / updateAddrs

Method updateAddrs

balancer/pickfirst/pickfirst.go:912–915  ·  view source on GitHub ↗
(addrs []resolver.Address)

Source from the content-addressed store, hash-verified

910}
911
912func (al *addressList) updateAddrs(addrs []resolver.Address) {
913 al.addresses = addrs
914 al.reset()
915}
916
917// seekTo returns false if the needle was not found and the current index was
918// left unchanged.

Callers 3

UpdateClientConnStateMethod · 0.45

Calls 1

resetMethod · 0.95

Tested by 2