lib/opentelemetry/sdk/baggage/manager.rb in opentelemetry-sdk-0.15.0 vs lib/opentelemetry/sdk/baggage/manager.rb in opentelemetry-sdk-0.16.0
- old
+ new
@@ -20,10 +20,10 @@
# this one.
#
# @param [optional Context] context The context to update with with new
# modified baggage. Defaults to +Context.current+
# @return [Context]
- def build_context(context: Context.current)
+ def build(context: Context.current)
builder = Builder.new(baggage_for(context).dup)
yield builder
context.set_value(BAGGAGE_KEY, builder.entries)
end