Skip to content

Commit 34aea14

Browse files
committed
squash: net_http
1 parent 4e87839 commit 34aea14

File tree

1 file changed

+1
-1
lines changed
  • instrumentation/net_http/lib/opentelemetry/instrumentation/net/http/patches

1 file changed

+1
-1
lines changed

instrumentation/net_http/lib/opentelemetry/instrumentation/net/http/patches/instrumentation.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ module Instrumentation
1717
# Constant for the HTTP status range
1818
HTTP_STATUS_SUCCESS_RANGE = (100..399)
1919

20-
def request(req, body = nil, &block)
20+
def request(req, body = nil, &)
2121
# Do not trace recursive call for starting the connection
2222
return super unless started?
2323

0 commit comments

Comments
 (0)