From 378ed417cf526858963a565993fb9ce533d4f858 Mon Sep 17 00:00:00 2001 From: Pavol Loffay Date: Fri, 16 Nov 2018 10:07:21 +0100 Subject: [PATCH] Remove comment Signed-off-by: Pavol Loffay --- cmd/agent/app/reporter/grpc/collector_proxy.go | 1 - 1 file changed, 1 deletion(-) diff --git a/cmd/agent/app/reporter/grpc/collector_proxy.go b/cmd/agent/app/reporter/grpc/collector_proxy.go index ab145cfcb491..fe60ac8b9788 100644 --- a/cmd/agent/app/reporter/grpc/collector_proxy.go +++ b/cmd/agent/app/reporter/grpc/collector_proxy.go @@ -50,7 +50,6 @@ func NewCollectorProxy(o *Options, mFactory metrics.Factory, logger *zap.Logger) conn, _ = grpc.Dial(r.Scheme()+":///round_robin", grpc.WithInsecure(), grpc.WithBalancerName(roundrobin.Name)) } else { // It does not return error if the collector is not running - // a way to fail immediately is to call WithBlock and WithTimeout conn, _ = grpc.Dial(o.CollectorHostPort[0], grpc.WithInsecure()) } grpcMetrics := mFactory.Namespace("", map[string]string{"protocol": "grpc"})