lib/rubber/dns/fog.rb in rubber-2.0.0.pre1 vs lib/rubber/dns/fog.rb in rubber-2.0.0.pre2

- old
+ new

@@ -58,10 +58,10 @@ fqdn = "" fqdn << "#{hostname}." if hostname fqdn << "#{opts[:domain]}" end - hosts = fqdn ? zone.records.find(fqdn) : zone.records.all + hosts = fqdn ? (zone.records.find(fqdn) rescue []) : zone.records.all hosts.each do |h| keep = true if host_type && h.type != host_type && host_type != '*' keep = false