summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKristina Chodorow <k@ubuntu.(none)>2010-08-27 17:33:08 -0400
committerKristina Chodorow <k@ubuntu.(none)>2010-08-27 17:33:08 -0400
commit805346d1e1ad7c8c041cf87450170e8ed4cc895c (patch)
tree6a1b4bc55db1911f095bcd03725cfd4fa34b2cb1
parent7b849bd6c6f5152993647cb816525669e19ec6eb (diff)
downloadmongo-805346d1e1ad7c8c041cf87450170e8ed4cc895c.tar.gz
fix sharding tests
-rw-r--r--shell/servers.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/servers.js b/shell/servers.js
index 50d92bd89a6..c4c11d35b84 100644
--- a/shell/servers.js
+++ b/shell/servers.js
@@ -64,7 +64,7 @@ startMongodTest = function (port, dirname, restart, extraOptions ) {
dirname = "" + port; // e.g., data/db/27000
var useHostname = false;
- if (extraOptions && extraOptions.useHostname) {
+ if (extraOptions) {
useHostname = extraOptions.useHostname;
delete extraOptions.useHostname;
}