Skip to content

Commit

Permalink
Remove unneeded variable from RestClient SSRF integration test
Browse files Browse the repository at this point in the history
  • Loading branch information
y9v committed Feb 21, 2025
1 parent 00f822a commit dc5cf79
Showing 1 changed file with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -84,11 +84,6 @@
stack.to_app
end

let(:http_service_entry_span) do
Datadog::Tracing::Transport::TraceFormatter.format!(trace)
spans.find { |s| s.name == 'rack.request' }
end

context 'when request params contain SSRF attack' do
before do
get('/ssrf', { 'url' => '169.254.169.254' }, { 'REMOTE_ADDR' => '127.0.0.1' })
Expand Down

0 comments on commit dc5cf79

Please sign in to comment.