diff --git a/instrumentation/active_job/lib/opentelemetry/instrumentation/active_job/handlers.rb b/instrumentation/active_job/lib/opentelemetry/instrumentation/active_job/handlers.rb index c1061ed71..7eafb9425 100644 --- a/instrumentation/active_job/lib/opentelemetry/instrumentation/active_job/handlers.rb +++ b/instrumentation/active_job/lib/opentelemetry/instrumentation/active_job/handlers.rb @@ -62,7 +62,7 @@ def subscribe end # Removes Event Handler Subscriptions for ActiveJob notifications - # @note this method is not thread safe and sholud not be used in a multi-threaded context + # @note this method is not thread-safe and should not be used in a multi-threaded context def unsubscribe @subscriptions&.each { |subscriber| ActiveSupport::Notifications.unsubscribe(subscriber) } @subscriptions = nil