We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 584ce9e commit 09735afCopy full SHA for 09735af
libraries/google_dns_managed_zones.rb
@@ -39,7 +39,7 @@ def fetch_data
39
@managed_zones.managed_zones.map do |zone|
40
dns_enabled=false
41
if defined?(zone.dnssec_config.state)
42
- dns_enabled=true if zone.dnssec_config.state.downcase == 'on'
+ dns_enabled=true if zone.dnssec_config.state.casecmp('on').zero?
43
end
44
managed_zones+=[{ zone_id: zone.id,
45
zone_name: zone.name,
0 commit comments