summaryrefslogtreecommitdiff
path: root/jstests/replsets/restore_term.js
diff options
context:
space:
mode:
authormatt dannenberg <matt.dannenberg@10gen.com>2015-08-14 09:04:19 -0400
committermatt dannenberg <matt.dannenberg@10gen.com>2015-08-17 10:13:17 -0400
commit33e06843f1aea287785a051a2cd806a32164538f (patch)
treed3392794de2acf0500554d629f31c8a2736c911b /jstests/replsets/restore_term.js
parent2475abdf1f4384b4c9b7a9e9ebee4483bf445cff (diff)
downloadmongo-33e06843f1aea287785a051a2cd806a32164538f.tar.gz
SERVER-19925 move protocolVersion field to top level
Diffstat (limited to 'jstests/replsets/restore_term.js')
-rw-r--r--jstests/replsets/restore_term.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/replsets/restore_term.js b/jstests/replsets/restore_term.js
index cd0b2c25850..0e1e05483e0 100644
--- a/jstests/replsets/restore_term.js
+++ b/jstests/replsets/restore_term.js
@@ -16,7 +16,7 @@ rst.startSet();
// Initiate the replset in protocol version 1.
var conf = rst.getReplSetConfig();
conf.settings = conf.settings || { };
-conf.settings.protocolVersion = 1;
+conf.protocolVersion = 1;
rst.initiate(conf);
rst.awaitSecondaryNodes();