lib/fluent/plugin/out_mongo.rb in fluent-plugin-mongo-0.6.10 vs lib/fluent/plugin/out_mongo.rb in fluent-plugin-mongo-0.6.11
- old
+ new
@@ -219,10 +219,10 @@
end
end
def mongod_version
db = get_connection
- db.command('serverStatus' => 1)['version']
+ db.command('buildInfo' => 1)['version']
end
end
end