lib/mongo/operation/insert/legacy.rb in mongo-2.14.1 vs lib/mongo/operation/insert/legacy.rb in mongo-2.15.0.alpha
- old
+ new
@@ -28,12 +28,12 @@
include Executable
include Idable
private
- def get_result(connection, client, options = {})
+ def get_result(connection, context, options = {})
# This is a Mongo::Operation::Insert::Result
- Result.new(*dispatch_message(connection, client), @ids)
+ Result.new(*dispatch_message(connection, context), @ids)
end
def selector
send(IDENTIFIER).first
end