Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #78 from robinator/master

The RedisToGo fix was only accounting for heroku namespaces.
  • Loading branch information...
commit 379afc419cb2d3cf3d3d77b3ce6cef0e668bec0b 2 parents 0ed513e + d252c8f
Alex MacCaw maccman authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/juggernaut/redis.js
2  lib/juggernaut/redis.js
View
@@ -8,7 +8,7 @@ module.exports.createClient = function(){
if (process.env.REDISTOGO_URL) {
var address = url.parse(process.env.REDISTOGO_URL);
client = redis.createClient(address.port, address.hostname);
- client.auth(address.auth.replace("redistogo:", ""));
+ client.auth(address.auth.split(":")[1]);
} else {
client = redis.createClient();
}
Please sign in to comment.
Something went wrong with that request. Please try again.