Skip to content

Commit 7f2472b

Browse files
slomekdfawley
authored andcommitted
grpclb: Remove duplicate init() (grpc#1764)
1 parent 09fc336 commit 7f2472b

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

grpclb.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -91,10 +91,6 @@ func newLBBuilder() balancer.Builder {
9191
return NewLBBuilderWithFallbackTimeout(defaultFallbackTimeout)
9292
}
9393

94-
func init() {
95-
balancer.Register(newLBBuilder())
96-
}
97-
9894
// NewLBBuilderWithFallbackTimeout creates a grpclb builder with the given
9995
// fallbackTimeout. If no response is received from the remote balancer within
10096
// fallbackTimeout, the backend addresses from the resolved address list will be

0 commit comments

Comments
 (0)