Skip to content

Commit 38f7de4

Browse files
committed
chore: Rubocop Lint/UselessAssignment
Useless assignment to variable - span_kind
1 parent 97becc1 commit 38f7de4

File tree

1 file changed

+0
-1
lines changed
  • instrumentation/aws_lambda/lib/opentelemetry/instrumentation/aws_lambda

1 file changed

+0
-1
lines changed

instrumentation/aws_lambda/lib/opentelemetry/instrumentation/aws_lambda/handler.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ def initialize
3030
def call_wrapped(event:, context:)
3131
parent_context = extract_parent_context(event)
3232

33-
span_kind = nil
3433
span_kind = if event['Records'] && AWS_TRIGGERS.include?(event['Records'].dig(0, 'eventSource'))
3534
:consumer
3635
else

0 commit comments

Comments
 (0)