Skip to content

Commit

Permalink
chore: Fix linter issue
Browse files Browse the repository at this point in the history
  • Loading branch information
arielvalentin committed Oct 31, 2023
1 parent 828e137 commit 485300a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down

0 comments on commit 485300a

Please sign in to comment.