summaryrefslogtreecommitdiff
path: root/jstests/replsets/get_replication_info_helper.js
diff options
context:
space:
mode:
authorMike Grundy <michael.grundy@10gen.com>2016-02-12 13:50:21 -0500
committerMike Grundy <michael.grundy@10gen.com>2016-02-19 05:50:29 -0500
commit2aeae1ee0f91fba6c4f5a6fff6a8bfd26e1600d5 (patch)
treec603731c3d578dc4c52fb2bacba6984f78d3b118 /jstests/replsets/get_replication_info_helper.js
parent70db6ed51f90f627570de9bf32ab8c5cd23886ca (diff)
downloadmongo-2aeae1ee0f91fba6c4f5a6fff6a8bfd26e1600d5.tar.gz
SERVER-22597 Fix minor javascript errors found by eslint
Diffstat (limited to 'jstests/replsets/get_replication_info_helper.js')
-rw-r--r--jstests/replsets/get_replication_info_helper.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/replsets/get_replication_info_helper.js b/jstests/replsets/get_replication_info_helper.js
index b873853b454..c031fb58779 100644
--- a/jstests/replsets/get_replication_info_helper.js
+++ b/jstests/replsets/get_replication_info_helper.js
@@ -24,7 +24,7 @@
// Just make sure the following fields exist since it would be hard to predict their values
assert(replInfo.tFirst, replInfoString);
assert(replInfo.tLast, replInfoString);
- assert(replInfo.now), replInfoString;
+ assert(replInfo.now, replInfoString);
// calling this function with and without a primary, should provide sufficient code coverage
// to catch any JS errors