lib/skylight/normalizers/faraday/request.rb in skylight-5.1.0.beta vs lib/skylight/normalizers/faraday/request.rb in skylight-5.1.0.beta2
- old
+ new
@@ -21,12 +21,10 @@
end
def normalize(_trace, _name, payload)
uri = payload[:url]
- if disabled?
- return :skip
- end
+ return :skip if disabled?
opts = Formatters::HTTP.build_opts(payload[:method], uri.scheme, uri.host, uri.port, uri.path, uri.query)
description = opts[:title]
# We use "Faraday" as the title to differentiate it in the UI in