From 723fb278359e422d4a1585b94abd8b3bebb6d705 Mon Sep 17 00:00:00 2001 From: Sam Levenick Date: Mon, 28 Oct 2019 13:13:42 -0700 Subject: [PATCH] Rubocop update Updated version of rubocop apparently cares about this Signed-off-by: Sam Levenick --- libraries/google_dns_managed_zones.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/google_dns_managed_zones.rb b/libraries/google_dns_managed_zones.rb index ed66edf0b..0dcde2701 100644 --- a/libraries/google_dns_managed_zones.rb +++ b/libraries/google_dns_managed_zones.rb @@ -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,