Skip to content

Commit

Permalink
chore: Rubocop Lint/UselessAssignment
Browse files Browse the repository at this point in the history
Useless assignment to variable - span_kind
  • Loading branch information
kaylareopelle committed Nov 13, 2024
1 parent 97becc1 commit 38f7de4
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ def initialize
def call_wrapped(event:, context:)
parent_context = extract_parent_context(event)

span_kind = nil
span_kind = if event['Records'] && AWS_TRIGGERS.include?(event['Records'].dig(0, 'eventSource'))
:consumer
else
Expand Down

0 comments on commit 38f7de4

Please sign in to comment.