summaryrefslogtreecommitdiff
path: root/jstests/sharding/shard_identity_config_update.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/sharding/shard_identity_config_update.js')
-rw-r--r--jstests/sharding/shard_identity_config_update.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/jstests/sharding/shard_identity_config_update.js b/jstests/sharding/shard_identity_config_update.js
index 4eb142d7f20..678a04c79fa 100644
--- a/jstests/sharding/shard_identity_config_update.js
+++ b/jstests/sharding/shard_identity_config_update.js
@@ -19,8 +19,8 @@
clusterId: ObjectId()
};
- var res = conn.getDB('admin')
- .system.version.update({_id: 'shardIdentity'}, shardIdentityDoc, true);
+ var res = conn.getDB('admin').system.version.update(
+ {_id: 'shardIdentity'}, shardIdentityDoc, true);
assert.eq(1, res.nUpserted);
};