Skip to content

Commit d6eef3f

Browse files
committed
Fix formatting
1 parent 7ed6185 commit d6eef3f

File tree

1 file changed

+8
-6
lines changed
  • instrumentation/opentelemetry-instrumentation-urllib3/src/opentelemetry/instrumentation/urllib3

1 file changed

+8
-6
lines changed

instrumentation/opentelemetry-instrumentation-urllib3/src/opentelemetry/instrumentation/urllib3/__init__.py

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -533,12 +533,14 @@ def instrumented_urlopen(wrapped, instance, args, kwargs):
533533
)
534534

535535
if span.is_recording():
536-
span.set_attributes(get_custom_header_attributes(
537-
response.headers,
538-
captured_response_headers,
539-
sensitive_headers,
540-
normalise_response_header_name,
541-
))
536+
span.set_attributes(
537+
get_custom_header_attributes(
538+
response.headers,
539+
captured_response_headers,
540+
sensitive_headers,
541+
normalise_response_header_name,
542+
)
543+
)
542544

543545
return response
544546

0 commit comments

Comments
 (0)