lib/opentelemetry/instrumentation/active_job/patches/base.rb in opentelemetry-instrumentation-active_job-0.1.5 vs lib/opentelemetry/instrumentation/active_job/patches/base.rb in opentelemetry-instrumentation-active_job-0.2.0
- old
+ new
@@ -25,10 +25,10 @@
def serialize
super.merge('metadata' => serialize_arguments(metadata))
end
def deserialize(job_data)
- self.metadata = (deserialize_arguments(job_data['metadata']) || []).to_h
+ self.metadata = deserialize_arguments(job_data['metadata'] || []).to_h
super
end
end
end
end