summaryrefslogtreecommitdiff
path: root/jstests/replsets/replset5.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/replsets/replset5.js')
-rw-r--r--jstests/replsets/replset5.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/replsets/replset5.js b/jstests/replsets/replset5.js
index 3f239499e1b..717a0c8153b 100644
--- a/jstests/replsets/replset5.js
+++ b/jstests/replsets/replset5.js
@@ -19,7 +19,7 @@ load("jstests/replsets/rslib.js");
replTest.initiate(config);
//
- var master = replTest.getMaster();
+ var master = replTest.getPrimary();
replTest.awaitSecondaryNodes();
var testDB = "foo";