fix method name

This commit is contained in:
Konstantin Haase 2015-01-14 14:16:28 +01:00
parent f5b3349d89
commit 301880b600

View File

@ -12,7 +12,7 @@ class Travis::Api::App
after do
instrumenter = ::Skylight::Instrumenter.instance
trace = instrumenter.current_trace if instrumenter
trace.endpoint = "#{request.method} #{endpoint}" || "unknown" if trace
trace.endpoint = "#{request.request_method} #{endpoint}" || "unknown" if trace
end
def endpoint