Skip to content

Commit

Permalink
Merge pull request #45 from scality/BF/remove-hardcoded-server-names
Browse files Browse the repository at this point in the history
Remove hard-coded server names
  • Loading branch information
David Pineau committed Mar 10, 2016
2 parents 70ceceb + baa0066 commit 3768210
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
5 changes: 1 addition & 4 deletions config.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
{
"bootstrap": [
"connectora.ringr2.devsca.com:81",
"connectorb.ringr2.devsca.com:81",
"connectorc.ringr2.devsca.com:81",
"connectord.ringr2.devsca.com:81"
"localhost:81"
],
"path": "/proxy/arc/"
}
5 changes: 2 additions & 3 deletions lib/sproxyd.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,8 @@ class SproxydClient {
*/
constructor(opts) {
const options = opts ? opts : {};
this.bootstrap = options.bootstrap === undefined ?
[ [ 'connectora.ringr2.devsca.com', '81'] ]
: _parseBootstrapList(options.bootstrap);
this.bootstrap = opts.bootstrap === undefined ?
[ [ 'localhost', '81'] ] : _parseBootstrapList(opts.bootstrap);
this.bootstrap = shuffle(this.bootstrap);
this.path = options.path === undefined ?
'/proxy/arc/' : options.path;
Expand Down

0 comments on commit 3768210

Please sign in to comment.