Skip to content

Commit

Permalink
Rubocop update
Browse files Browse the repository at this point in the history
Updated version of rubocop apparently cares about this

Signed-off-by: Sam Levenick <[email protected]>
  • Loading branch information
slevenick authored and Stuart Paterson committed Oct 28, 2019
1 parent 584ce9e commit 723fb27
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/google_dns_managed_zones.rb
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def fetch_data
@managed_zones.managed_zones.map do |zone|
dns_enabled=false
if defined?(zone.dnssec_config.state)
dns_enabled=true if zone.dnssec_config.state.downcase == 'on'
dns_enabled=true if zone.dnssec_config.state.casecmp('on').zero?
end
managed_zones+=[{ zone_id: zone.id,
zone_name: zone.name,
Expand Down

0 comments on commit 723fb27

Please sign in to comment.