Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

temp2

  • Loading branch information...
commit 3f535d82e5e6fec731463c3b76694a0db53e399d 1 parent a0d6b14
Felix Holmgren authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/heroku/command/redis_console.rb
View
4 lib/heroku/command/redis_console.rb
@@ -3,8 +3,8 @@ class Heroku::Command::Redis < Heroku::Command::Base
def cli(*queries)
db_env_key = extract_option("--db") | 'REDIS_URL'
- config_vars = heroku.get_config_vars
- redis_url = config_vars(app)[db_env_key]
+ config_vars = api.get_config_vars(app)
+ redis_url = config_vars[db_env_key]
return puts "No such redis (#{db_env_key}), try setting --db REDIS_URL." unless redis_url
uri = URI.parse(redis_url)
Please sign in to comment.
Something went wrong with that request. Please try again.