lib/opentelemetry/instrumentation/mongo/command_serializer.rb in opentelemetry-instrumentation-mongo-0.22.1 vs lib/opentelemetry/instrumentation/mongo/command_serializer.rb in opentelemetry-instrumentation-mongo-0.22.2

- old
+ new

@@ -73,10 +73,10 @@ def build_pipeline pipeline = command['pipeline'] return unless pipeline - payload['pipeline'] = pipeline.map(&method(:mask)) + payload['pipeline'] = pipeline.map { |x| mask(x) } end def add_val(payload, command, key) return unless command.key?(key)