mirror of
https://github.com/fog/fog-aws.git
synced 2022-11-09 13:50:52 -05:00
Ruby 1.8.7 support
This commit is contained in:
parent
e6640f337b
commit
011b1f071c
1 changed files with 2 additions and 2 deletions
|
@ -222,9 +222,9 @@ module Fog
|
|||
end
|
||||
|
||||
def self.hosted_zone_for_alias_target(dns_name)
|
||||
elb_hosted_zone_mapping.select { |k, _|
|
||||
Hash[elb_hosted_zone_mapping.select { |k, _|
|
||||
dns_name =~ /\A.+\.#{k}\.elb\.amazonaws\.com\.?\z/
|
||||
}.values.last
|
||||
}].values.last
|
||||
end
|
||||
|
||||
def self.elb_hosted_zone_mapping
|
||||
|
|
Loading…
Reference in a new issue