Skip to content

Commit be3d44b

Browse files
committed
SERVER-22914 Fix a misnamed variable
1 parent c714577 commit be3d44b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jstests/sharding/mongos_no_replica_set_refresh.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ printjson( mongos.getCollection("foo.bar").findOne() );
3434

3535
jsTestLog( "Reconfiguring replica set..." );
3636

37-
var rsConfig = rsObj.getRSConfig(0);
37+
var rsConfig = rsObj.getReplSetConfigFromNode(0);
3838

3939
// Now remove the last node in the config.
4040
var removedNode = rsConfig.members.pop();

0 commit comments

Comments
 (0)