summaryrefslogtreecommitdiff
path: root/jstests/aggregation/mongos_slaveok.js
diff options
context:
space:
mode:
authorMark Benvenuto <mark.benvenuto@mongodb.com>2016-05-28 17:55:12 -0400
committerMark Benvenuto <mark.benvenuto@mongodb.com>2016-05-28 17:55:12 -0400
commit6dcdd23dd37ef12c87e71cf59ef01cd82432efe0 (patch)
treec8cfb5acb62c80f375bc37e7d4350382deea6a37 /jstests/aggregation/mongos_slaveok.js
parentd4ac5673ea3f6cef4ce9dbcec90e31813997a528 (diff)
downloadmongo-6dcdd23dd37ef12c87e71cf59ef01cd82432efe0.tar.gz
SERVER-23971 Clang-Format code
Diffstat (limited to 'jstests/aggregation/mongos_slaveok.js')
-rw-r--r--jstests/aggregation/mongos_slaveok.js5
1 files changed, 1 insertions, 4 deletions
diff --git a/jstests/aggregation/mongos_slaveok.js b/jstests/aggregation/mongos_slaveok.js
index 91a0533d59e..9ccf383335e 100644
--- a/jstests/aggregation/mongos_slaveok.js
+++ b/jstests/aggregation/mongos_slaveok.js
@@ -26,10 +26,7 @@
var res = testDB.runCommand({aggregate: 'user', pipeline: [{$project: {x: 1}}]});
assert(res.ok, 'aggregate command failed: ' + tojson(res));
- var profileQuery = {
- op: 'command',
- ns: 'test.user', 'command.aggregate': 'user'
- };
+ var profileQuery = {op: 'command', ns: 'test.user', 'command.aggregate': 'user'};
var profileDoc = secNode.getDB('test').system.profile.findOne(profileQuery);
assert(profileDoc != null);