Skip to content

Commit

Permalink
! BugFix: redis connection host was not used from config
Browse files Browse the repository at this point in the history
  • Loading branch information
d.poellath committed Apr 2, 2014
1 parent 5abb84b commit ed7a800
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/restify-session.js
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ module.exports = function(config) {
con = cfg.connection;

// create redis client
session.client = new redis.createClient(con.port, cfg.host, con);
session.client = new redis.createClient(con.port, con.host, con);

var isNull = utils.isNull;

Expand Down

0 comments on commit ed7a800

Please sign in to comment.