From 485300a9bb24b00eef732566a8470e8daf7c90f0 Mon Sep 17 00:00:00 2001 From: Ariel Valentin Date: Tue, 31 Oct 2023 14:31:10 -0500 Subject: [PATCH] chore: Fix linter issue --- .../instrumentation/active_support/span_subscriber.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/instrumentation/active_support/lib/opentelemetry/instrumentation/active_support/span_subscriber.rb b/instrumentation/active_support/lib/opentelemetry/instrumentation/active_support/span_subscriber.rb index 7c1bcb0a9..e2ab1d700 100644 --- a/instrumentation/active_support/lib/opentelemetry/instrumentation/active_support/span_subscriber.rb +++ b/instrumentation/active_support/lib/opentelemetry/instrumentation/active_support/span_subscriber.rb @@ -31,7 +31,7 @@ def self.subscribe( subscriber_object = ::ActiveSupport::Notifications.subscribe(pattern, subscriber) # this can be removed once we drop support for Rails < 7.2 - # see https://github.com/open-telemetry/opentelemetry-ruby-contrib/pull/707 for more context + # see https://github.com/open-telemetry/opentelemetry-ruby-contrib/pull/707 for more context if ::ActiveSupport::Notifications.notifier.respond_to?(:synchronize) ::ActiveSupport::Notifications.notifier.synchronize do subscribers = ::ActiveSupport::Notifications.notifier.instance_variable_get(:@string_subscribers)[pattern]