diff options
Diffstat (limited to 'jstests/replsets/copydb.js')
-rw-r--r-- | jstests/replsets/copydb.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/replsets/copydb.js b/jstests/replsets/copydb.js index e63f6e4b393..2c11e553618 100644 --- a/jstests/replsets/copydb.js +++ b/jstests/replsets/copydb.js @@ -9,7 +9,7 @@ replTest.startSet(); replTest.initiate(); var primary = replTest.getPrimary(); - var secondary = replTest.liveNodes.slaves[0]; + var secondary = replTest._slaves[0]; var sourceDBName = 'copydb-repl-test-source'; var targetDBName = 'copydb-repl-test-target'; |