Skip to content

Commit

Permalink
Remove wrong comment about client stop closing gRPC conn
Browse files Browse the repository at this point in the history
  • Loading branch information
MrAlias committed Nov 22, 2021
1 parent b3e151d commit ab98555
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions exporters/otlp/otlptrace/otlptracegrpc/client.go
Expand Up @@ -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{})
Expand Down

0 comments on commit ab98555

Please sign in to comment.