Skip to content

Commit

Permalink
Rename @name to @pattern to match the Active Support nomenclature
Browse files Browse the repository at this point in the history
  • Loading branch information
erichmachado committed Dec 12, 2024
1 parent 95223a8 commit ae89d18
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ class SpanSubscriber

# rubocop:disable Metrics/ParameterLists
def initialize(name:, tracer:, notification_payload_transform: nil, disallowed_notification_payload_keys: nil, kind: nil, span_name_formatter: nil)
@name = name
@pattern = name
@tracer = tracer
@notification_payload_transform = notification_payload_transform
@disallowed_notification_payload_keys = Array(disallowed_notification_payload_keys)
Expand Down

0 comments on commit ae89d18

Please sign in to comment.