lib/instana/instrumentation/aws_sdk_sns.rb in instana-1.200.0.pre1 vs lib/instana/instrumentation/aws_sdk_sns.rb in instana-1.200.0

- old
+ new

@@ -9,10 +9,10 @@ sns_tags = { topic: context.params[:topic_arn], target: context.params[:target_arn], phone: context.params[:phone_number], subject: context.params[:subject] - }.compact + }.reject { |_, v| v.nil? } if context.operation_name == :publish ::Instana.tracer.trace(:sns, {sns: sns_tags}) { @handler.call(context) } else @handler.call(context)