lib/opentracing/instrumentation/thrift/traced_protocol_config.rb in opentracing-instrumentation-0.1.14 vs lib/opentracing/instrumentation/thrift/traced_protocol_config.rb in opentracing-instrumentation-0.1.15
- old
+ new
@@ -22,9 +22,16 @@
@tags_builder = tags_builder
@operation_name_builder = operation_name_builder
@error_writer = error_writer
@logger = logger
end
+
+ def ==(other)
+ tracer == other.tracer &&
+ tags_builder == other.tags_builder &&
+ operation_name_builder == other.operation_name_builder &&
+ error_writer == other.error_writer
+ end
end
end
end
end