Skip to content

Commit

Permalink
temp2
Browse files Browse the repository at this point in the history
  • Loading branch information
Felix Holmgren committed Nov 21, 2013
1 parent a0d6b14 commit fa52cd2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/heroku/command/redis_console.rb
Expand Up @@ -3,7 +3,7 @@ class Heroku::Command::Redis < Heroku::Command::Base

def cli(*queries)
db_env_key = extract_option("--db") | 'REDIS_URL'
config_vars = heroku.get_config_vars
config_vars = api.get_config_vars
redis_url = config_vars(app)[db_env_key]
return puts "No such redis (#{db_env_key}), try setting --db REDIS_URL." unless redis_url
uri = URI.parse(redis_url)
Expand Down

0 comments on commit fa52cd2

Please sign in to comment.