Skip to content

Commit

Permalink
WithBalancerName() deprecated (#20)
Browse files Browse the repository at this point in the history
  • Loading branch information
Googlom authored Jun 11, 2020
1 parent 370ab4e commit 8a34ba6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ func main() {
conn, err := grpc.Dial(
"consul://127.0.0.1:8500/whoami?wait=14s&tag=manual",
grpc.WithInsecure(),
grpc.WithBalancerName("round_robin"),
grpc.WithDefaultServiceConfig(`{"loadBalancingPolicy": "round_robin"}`),
)
if err != nil {
log.Fatal(err)
Expand Down

0 comments on commit 8a34ba6

Please sign in to comment.