summaryrefslogtreecommitdiff
path: root/jstests
diff options
context:
space:
mode:
authorGregory Wlodarek <gregory.wlodarek@mongodb.com>2019-06-11 17:39:00 -0400
committerGregory Wlodarek <gregory.wlodarek@mongodb.com>2019-06-11 17:39:00 -0400
commitf96818e61297e0875dbd64d39d04035509933841 (patch)
tree061d17a20ad3478f49c13ea368b91f17ba866f3f /jstests
parent3bf31bf4a07c31365a4d9fd92e380bda0509e842 (diff)
downloadmongo-f96818e61297e0875dbd64d39d04035509933841.tar.gz
SERVER-41460 Fix lint
Diffstat (limited to 'jstests')
-rw-r--r--jstests/noPassthrough/drop_connections_replSet.js2
-rw-r--r--jstests/noPassthrough/drop_connections_sharded.js2
2 files changed, 2 insertions, 2 deletions
diff --git a/jstests/noPassthrough/drop_connections_replSet.js b/jstests/noPassthrough/drop_connections_replSet.js
index e137dd32dfa..d8e07397afe 100644
--- a/jstests/noPassthrough/drop_connections_replSet.js
+++ b/jstests/noPassthrough/drop_connections_replSet.js
@@ -18,7 +18,7 @@
assert.commandWorked(ret);
jsTestLog("Connection pool stats by host: " + tojson(ret.hosts));
return ret.hosts;
- };
+ }
// To test the dropConnections command, first remove the secondary. This should have no effect
// on the existing connection pool, but it'll prevent the primary from reconnecting to it after
diff --git a/jstests/noPassthrough/drop_connections_sharded.js b/jstests/noPassthrough/drop_connections_sharded.js
index cfcb97a228d..7d2f605946e 100644
--- a/jstests/noPassthrough/drop_connections_sharded.js
+++ b/jstests/noPassthrough/drop_connections_sharded.js
@@ -23,7 +23,7 @@
assert.commandWorked(ret);
jsTestLog("Connection pool stats by host: " + tojson(ret.hosts));
return ret.hosts;
- };
+ }
const cfg = primary.getDB('local').system.replset.findOne();
const memberHost = cfg.members[2].host;