summaryrefslogtreecommitdiff
path: root/jstests/auth/copyauth.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/auth/copyauth.js')
-rw-r--r--jstests/auth/copyauth.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/auth/copyauth.js b/jstests/auth/copyauth.js
index 6960692ef24..d93e726eaa1 100644
--- a/jstests/auth/copyauth.js
+++ b/jstests/auth/copyauth.js
@@ -78,7 +78,7 @@ function ClusterSpawnHelper(clusterType, startWithAuth, startWithTransitionToAut
} else if (clusterType === "repl") {
replSetTest.stopSet();
} else {
- MongoRunner.stopMongod(this.conn.port);
+ MongoRunner.stopMongod(this.conn);
}
};
}