lib/fulmar/infrastructure/service/database/database_service.rb in fulmar-1.6.3 vs lib/fulmar/infrastructure/service/database/database_service.rb in fulmar-1.6.4
- old
+ new
@@ -141,10 +141,10 @@
"#{@config[:maria][:database]}_#{Time.now.strftime('%Y-%m-%dT%H%M%S')}.sql"
end
def initialize_shell
path = local? ? @config[:local_path] : @config[:remote_path]
- @shell = Fulmar::Infrastructure::Service::ShellService.new(path, @config[:hostname])
+ @shell = Fulmar::Infrastructure::Service::ShellService.new(path, @config.ssh_user_and_host)
@shell.debug = true if @config[:debug]
@shell.strict = true
end
# Compiles a mysql config hash from valid options of the fulmar config