Skip to content

Commit

Permalink
minor: test fix
Browse files Browse the repository at this point in the history
  • Loading branch information
banker committed Jul 30, 2010
1 parent db8bd90 commit 0e12d10
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion shell/mongo_vstudio.cpp
Expand Up @@ -990,7 +990,7 @@ const char * jsconcatcode =
"return this._name;}\n"
"DB.prototype.toString = function(){\n"
"return this._name;}\n"
"DB.prototype.isMaster = function(){ return db.runCommand(\"isMaster\");}\n"
"DB.prototype.isMaster = function(){ return this.runCommand(\"isMaster\");}\n"
"DB.prototype.currentOp = function(){\n"
"return db.$cmd.sys.inprog.findOne();}\n"
"DB.prototype.currentOP = DB.prototype.currentOp;\n"
Expand Down
2 changes: 1 addition & 1 deletion shell/servers.js
Expand Up @@ -884,7 +884,7 @@ ReplSetTest = function( opts ){
this.initBridges();
}
else {
this.ports = allocatePorts( this.numNodes , startPort );
this.ports = allocatePorts( this.numNodes , this.startPort );
}

this.nodes = [];
Expand Down

0 comments on commit 0e12d10

Please sign in to comment.