summaryrefslogtreecommitdiff
path: root/jstests/sharding/addshard4.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/sharding/addshard4.js')
-rw-r--r--jstests/sharding/addshard4.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/jstests/sharding/addshard4.js b/jstests/sharding/addshard4.js
index a23d0a13797..49e9de7b48c 100644
--- a/jstests/sharding/addshard4.js
+++ b/jstests/sharding/addshard4.js
@@ -15,7 +15,7 @@ r.initiate(config);
// to pre-allocate files on slow systems
r.awaitReplication();
-var master = r.getPrimary();
+var primary = r.getPrimary();
var members = config.members.map(function(elem) {
return elem.host;
@@ -49,7 +49,7 @@ r.initiate(config);
// to pre-allocate files on slow systems
r.awaitReplication();
-master = r.getPrimary();
+primary = r.getPrimary();
print("adding shard addshard42");