grpc-go/balancer/grpclb
Oleksandr Redko 31dc47107e
grpclb: simplify stringifying of IPv6 with net.JoinHostPort (#8503)
This PR simplifies IP address handling in
`lbBalancer.processServerList`.

From [net.JoinHostPort](https://pkg.go.dev/net#JoinHostPort):

> JoinHostPort combines host and port into a network address of the form
"host:port". If host contains a colon, as found in literal IPv6
addresses, then JoinHostPort returns "[host]:port".

RELEASE NOTES: none
2025-08-12 12:09:40 +05:30
..
grpc_lb_v1 cmd/protoc-gen-go-grpc: use `Error()` since no formatting is performed (#8378) 2025-06-05 09:10:58 +05:30
state
grpclb.go *: fix more typos (#7619) 2024-09-16 10:58:27 -07:00
grpclb_config.go grpc: Move Pick First Balancer to separate package (#7255) 2024-05-22 16:26:02 -04:00
grpclb_config_test.go
grpclb_picker.go multiple: switch to math/rand/v2 (#7711) 2024-10-29 10:43:58 -07:00
grpclb_remote_balancer.go grpclb: simplify stringifying of IPv6 with net.JoinHostPort (#8503) 2025-08-12 12:09:40 +05:30
grpclb_test.go testutils/roundrobin: Improve validation of WRR distribution (#8459) 2025-07-21 11:33:36 +05:30
grpclb_util.go
grpclb_util_test.go .*: revive from unused_parameters (#7577) 2024-08-30 10:41:30 -07:00