grpclb: Remove duplicate init() (#1764)

This commit is contained in:
Paweł Słomka
2017-12-22 22:43:22 +01:00
committed by dfawley
parent 09fc336d84
commit 7f2472bbc6

View File

@ -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