lib/mongo/database/view.rb in mongo-2.2.7 vs lib/mongo/database/view.rb in mongo-2.3.0
- old
+ new
@@ -1,6 +1,6 @@
-# Copyright (C) 2014-2015 MongoDB, Inc.
+# Copyright (C) 2014-2016 MongoDB, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
@@ -109,10 +109,10 @@
def initial_query_op
Operation::Commands::CollectionsInfo.new(collections_info_spec)
end
def send_initial_query(server)
- initial_query_op.execute(server.context)
+ initial_query_op.execute(server)
end
end
end
end