From 64d4775767ecbdcccc33f077c18d0832c1ba8dbf Mon Sep 17 00:00:00 2001 From: Arjun Rajappa Date: Mon, 22 Jun 2026 12:24:25 +0530 Subject: [PATCH] chore: fix linting failures on master Signed-off-by: Arjun Rajappa --- lib/instana/instrumentation/net-http.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/instana/instrumentation/net-http.rb b/lib/instana/instrumentation/net-http.rb index 1672a4e9..0369b4f4 100644 --- a/lib/instana/instrumentation/net-http.rb +++ b/lib/instana/instrumentation/net-http.rb @@ -57,7 +57,7 @@ def request(*args, &block) current_span.record_exception(nil) end extra_headers = ::Instana::Util.extra_header_tags(response)&.merge(::Instana::Util.extra_header_tags(request)) - kv_payload[:http][:header] = extra_headers unless extra_headers&.empty? + kv_payload[:http][:header] = extra_headers unless extra_headers && extra_headers.empty? response rescue => e current_span&.record_exception(e)