You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This makes LightStep::ScopeManager incompatible with the interface defined in OpenTracing::ScopeManager. For example, this error is thrown if you call activate as defined in the OpenTracing interface.
wrong number of arguments (given 1, expected 0; required keyword: span)
The text was updated successfully, but these errors were encountered:
mkasberg
changed the title
Lightstep::ScopeManager interface differs from OpenTracing::ScopeManager
LightStep::ScopeManager interface differs from OpenTracing::ScopeManager
Jul 19, 2022
In
OpenTracing::ScopeManager
, thespan
parameter is a required arg, not a keyword arg.https://github.com/opentracing/opentracing-ruby/blob/01304d46b6d8322e23bb2962189c0cd14065c886/lib/opentracing/scope_manager.rb#L21
However, in
LightStep::ScopeManager
, thespan
parameter is a keyword arg.lightstep-tracer-ruby/lib/lightstep/scope_manager.rb
Line 19 in cbfb22e
This makes
LightStep::ScopeManager
incompatible with the interface defined inOpenTracing::ScopeManager
. For example, this error is thrown if you callactivate
as defined in theOpenTracing
interface.The text was updated successfully, but these errors were encountered: