From ab985550a3705dfaf64b7e3c32c67e1b4bd9fa4e Mon Sep 17 00:00:00 2001 From: Tyler Yahn Date: Mon, 22 Nov 2021 12:11:13 -0800 Subject: [PATCH] Remove wrong comment about client stop closing gRPC conn --- exporters/otlp/otlptrace/otlptracegrpc/client.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/exporters/otlp/otlptrace/otlptracegrpc/client.go b/exporters/otlp/otlptrace/otlptracegrpc/client.go index acfa274f1ed..96589d0832c 100644 --- a/exporters/otlp/otlptrace/otlptracegrpc/client.go +++ b/exporters/otlp/otlptrace/otlptracegrpc/client.go @@ -112,8 +112,6 @@ func (c *client) Start(ctx context.Context) error { var errNotStarted = errors.New("client not started") // Stop shuts down the gRPC connection to the collector. -// -// If the client was crated using WithGRPCConn, the passed conn is closed. func (c *client) Stop(ctx context.Context) error { // Acquire the c.tscMu lock within the ctx lifetime. acquired := make(chan struct{})