From d4f15695c1e3382db9717309b5e0999f6d9d1cc7 Mon Sep 17 00:00:00 2001 From: Andrei Matei Date: Fri, 24 Jun 2022 11:35:16 -0400 Subject: [PATCH] [exporter/otlpexporter]: remove stale comment (#5587) This comment ended up on the wrong function over time, and it generally doesn't apply. --- exporter/otlpexporter/otlp.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/exporter/otlpexporter/otlp.go b/exporter/otlpexporter/otlp.go index 8d6c9d3bf2c..3533de0f3ee 100644 --- a/exporter/otlpexporter/otlp.go +++ b/exporter/otlpexporter/otlp.go @@ -125,9 +125,6 @@ func (e *exporter) enhanceContext(ctx context.Context) context.Context { return ctx } -// Send a trace or metrics request to the server. "perform" function is expected to make -// the actual gRPC unary call that sends the request. This function implements the -// common OTLP logic around request handling such as retries and throttling. func processError(err error) error { if err == nil { // Request is successful, we are done.