lib/opentelemetry/instrumentation/active_job/patches/base.rb in opentelemetry-instrumentation-active_job-0.1.1 vs lib/opentelemetry/instrumentation/active_job/patches/base.rb in opentelemetry-instrumentation-active_job-0.1.2
- old
+ new
@@ -18,9 +18,10 @@
def initialize(*args)
@metadata = {}
super
end
+ ruby2_keywords(:initialize) if respond_to?(:ruby2_keywords, true)
def serialize
super.merge('metadata' => serialize_arguments(metadata))
end