lib/fulmar/infrastructure/model/transfer/rsync.rb in fulmar-2.1.2 vs lib/fulmar/infrastructure/model/transfer/rsync.rb in fulmar-2.2.0
- old
+ new
@@ -25,10 +25,10 @@
if @config[:rsync][:exclude_file].blank? && File.exist?(@config[:local_path] + '/.rsyncignore')
@config[:rsync][:exclude_file] = @config[:local_path] + '/.rsyncignore'
end
- fail 'Hostname not set. Cannot initialize sync.' if @config[:hostname].nil? || @config[:hostname].empty?
+ raise 'Hostname not set. Cannot initialize sync.' if @config[:hostname].nil? || @config[:hostname].empty?
super(@config)
end
def transfer