lib/shelly/app.rb in shelly-0.2.27 vs lib/shelly/app.rb in shelly-0.2.28
- old
+ new
@@ -127,10 +127,10 @@
def restore_backup(filename)
shelly.restore_backup(code_name, filename)
end
def import_database(kind, filename, server)
- ssh(:command => "import_database #{kind} #{filename}",
+ ssh(:command => "import_database #{kind.downcase} #{filename}",
:server => server)
end
def request_backup(kinds)
Array(kinds).each do |kind|