summaryrefslogtreecommitdiff
path: root/jstests/replsets/initial_sync4.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/replsets/initial_sync4.js')
-rw-r--r--jstests/replsets/initial_sync4.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/replsets/initial_sync4.js b/jstests/replsets/initial_sync4.js
index da49839ef0c..c7c23e65497 100644
--- a/jstests/replsets/initial_sync4.js
+++ b/jstests/replsets/initial_sync4.js
@@ -8,7 +8,7 @@ replTest = new ReplSetTest( {name: basename, nodes: 1} );
replTest.startSet();
replTest.initiate();
-m = replTest.getMaster();
+m = replTest.getPrimary();
md = m.getDB("d");
mc = m.getDB("d")["c"];