mirror of
https://github.com/fog/fog-aws.git
synced 2022-11-09 13:50:52 -05:00
Allow case-insensitive record comparison
This commit is contained in:
parent
5e463ed627
commit
84946b44c5
1 changed files with 1 additions and 1 deletions
|
@ -93,7 +93,7 @@ module Fog
|
|||
(data['ResourceRecordSets'] || []).map do |record_data|
|
||||
record = new(record_data)
|
||||
|
||||
if (record.name == record_name) &&
|
||||
if (record.name.casecmp(record_name) == 0) &&
|
||||
(record_type.nil? || (record.type == record_type)) &&
|
||||
(record_identifier.nil? || (record.set_identifier == record_identifier))
|
||||
record
|
||||
|
|
Loading…
Reference in a new issue