lib/opentelemetry/context/propagation/noop_extractor.rb in opentelemetry-api-0.13.0 vs lib/opentelemetry/context/propagation/noop_extractor.rb in opentelemetry-api-0.14.0
- old
+ new
@@ -15,10 +15,10 @@
# @param [Context] context The context to be upated with the extracted
# context
# @param [optional Callable] getter An optional callable that takes a carrier and a key and
# and returns the value associated with the key
# @return [Context]
- def extract(carrier, context, &getter)
+ def extract(carrier, context, getter = nil)
context
end
end
end
end