grpclb: Remove duplicate init() (#1764)
This commit is contained in:
@ -91,10 +91,6 @@ func newLBBuilder() balancer.Builder {
|
|||||||
return NewLBBuilderWithFallbackTimeout(defaultFallbackTimeout)
|
return NewLBBuilderWithFallbackTimeout(defaultFallbackTimeout)
|
||||||
}
|
}
|
||||||
|
|
||||||
func init() {
|
|
||||||
balancer.Register(newLBBuilder())
|
|
||||||
}
|
|
||||||
|
|
||||||
// NewLBBuilderWithFallbackTimeout creates a grpclb builder with the given
|
// NewLBBuilderWithFallbackTimeout creates a grpclb builder with the given
|
||||||
// fallbackTimeout. If no response is received from the remote balancer within
|
// fallbackTimeout. If no response is received from the remote balancer within
|
||||||
// fallbackTimeout, the backend addresses from the resolved address list will be
|
// fallbackTimeout, the backend addresses from the resolved address list will be
|
||||||
|
|||||||
Reference in New Issue
Block a user