From 7f2472bbc6ac269af51a9c47ae8ef8c625383e1f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20S=C5=82omka?= Date: Fri, 22 Dec 2017 22:43:22 +0100 Subject: [PATCH] grpclb: Remove duplicate init() (#1764) --- grpclb.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/grpclb.go b/grpclb.go index add01ca6..d14a5d40 100644 --- a/grpclb.go +++ b/grpclb.go @@ -91,10 +91,6 @@ func newLBBuilder() balancer.Builder { return NewLBBuilderWithFallbackTimeout(defaultFallbackTimeout) } -func init() { - balancer.Register(newLBBuilder()) -} - // NewLBBuilderWithFallbackTimeout creates a grpclb builder with the given // fallbackTimeout. If no response is received from the remote balancer within // fallbackTimeout, the backend addresses from the resolved address list will be