Skip to content

Commit

Permalink
Remove comment
Browse files Browse the repository at this point in the history
Signed-off-by: Pavol Loffay <[email protected]>
  • Loading branch information
pavolloffay committed Nov 16, 2018
1 parent cdb0c52 commit 378ed41
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion cmd/agent/app/reporter/grpc/collector_proxy.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"})
Expand Down

0 comments on commit 378ed41

Please sign in to comment.