From 13279c32eace7b1f7ccd4ebd6105667708605780 Mon Sep 17 00:00:00 2001 From: Yingrong Zhao <22300958+VinozzZ@users.noreply.github.com> Date: Wed, 31 Jul 2024 11:44:08 -0400 Subject: [PATCH] fix linter --- instrumentation/net/http/otelhttp/transport.go | 1 - 1 file changed, 1 deletion(-) diff --git a/instrumentation/net/http/otelhttp/transport.go b/instrumentation/net/http/otelhttp/transport.go index 5ee65a65496..be17d4c755d 100644 --- a/instrumentation/net/http/otelhttp/transport.go +++ b/instrumentation/net/http/otelhttp/transport.go @@ -163,7 +163,6 @@ func (t *Transport) RoundTrip(r *http.Request) (*http.Response, error) { res, err := t.rt.RoundTrip(r) if err != nil { - // set error type attribute if the error is part of the predefined // error types. // otherwise, record it as an exception