Permalink
Browse files

[fix] use the host in the metadata

  • Loading branch information...
1 parent e7f19ac commit f504fa0ea00fa1bf35ee14b376102484dfbce03f @cronopio cronopio committed Nov 8, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/jitsu/commands/databases.js
@@ -321,7 +321,7 @@ var printDatabase = function (database) {
case 'redis':
var port = database.metadata.port,
password = database.metadata.password,
- server = database.metadata.label.split('-')[0] + '.redistogo.com';
+ server = database.metadata.host;
printBase(database);
jitsu.log.data('Connection host: ' + server.grey);
@@ -399,7 +399,7 @@ var printDbHelp = function (database) {
case 'redistogo':
var port = database.metadata.port,
password = database.metadata.password,
- server = database.metadata.label.split('-')[0] + '.redistogo.com';
+ server = database.metadata.host;
[
'',

0 comments on commit f504fa0

Please sign in to comment.