diff options
author | Kristina Chodorow <k@ubuntu.(none)> | 2010-08-27 17:33:08 -0400 |
---|---|---|
committer | Kristina Chodorow <k@ubuntu.(none)> | 2010-08-27 17:33:08 -0400 |
commit | 805346d1e1ad7c8c041cf87450170e8ed4cc895c (patch) | |
tree | 6a1b4bc55db1911f095bcd03725cfd4fa34b2cb1 | |
parent | 7b849bd6c6f5152993647cb816525669e19ec6eb (diff) | |
download | mongo-805346d1e1ad7c8c041cf87450170e8ed4cc895c.tar.gz |
fix sharding tests
-rw-r--r-- | shell/servers.js | 2 |
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; } |