diff --git a/instrumentation/action_pack/lib/opentelemetry/instrumentation/action_pack/handlers.rb b/instrumentation/action_pack/lib/opentelemetry/instrumentation/action_pack/handlers.rb index 29bede7b6..1e902d4e3 100644 --- a/instrumentation/action_pack/lib/opentelemetry/instrumentation/action_pack/handlers.rb +++ b/instrumentation/action_pack/lib/opentelemetry/instrumentation/action_pack/handlers.rb @@ -27,7 +27,7 @@ def subscribe end # Removes Event Handler Subscriptions for Action Controller 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