Skip to content

Commit

Permalink
Remove unnecessary change
Browse files Browse the repository at this point in the history
  • Loading branch information
pawelchcki committed May 22, 2018
1 parent 063398e commit f429673
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/ddtrace/contrib/rack/middlewares.rb
Original file line number Diff line number Diff line change
Expand Up @@ -42,14 +42,13 @@ def call(env)
request_span = request_span!(env)
# TODO: For backwards compatibility; this attribute is deprecated.
env[:datadog_rack_request_span] = request_span
original_env = env.dup

# Add deprecation warnings
add_deprecation_warnings(env)

# Copy the original env, before the rest of the stack executes.
# Values may change; we want values before that happens.
# original_env = env.dup
original_env = env.dup

# call the rest of the stack
status, headers, response = super(env)
Expand Down

0 comments on commit f429673

Please sign in to comment.