Permalink
Browse files

update push mechanism to use same variables as pull

  • Loading branch information...
1 parent e86b119 commit 6cd9b4e2c6f165b3c6f92147f55a33bc56569408 @micahbrich committed Aug 12, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/heroku/command/mongo.rb
@@ -9,7 +9,7 @@ def initialize(*args)
end
def push
- display "THIS WILL REPLACE ALL DATA for #{app} ON #{heroku_mongo_uri} WITH #{local_mongo_uri} db #{local_db_name}"
+ display "THIS WILL REPLACE ALL DATA for #{app} ON #{heroku_mongo_uri} WITH #{mongoid_database || app}"
display "Are you sure? (y/n) ", false
return unless ask.downcase == 'y'
transfer(local_mongo_uri, heroku_mongo_uri)

0 comments on commit 6cd9b4e

Please sign in to comment.