Skip to content

Commit

Permalink
Happy rubocop
Browse files Browse the repository at this point in the history
  • Loading branch information
mchf committed Sep 19, 2018
1 parent b2e65a5 commit 829b4ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/network/src/modules/NetworkInterfaces.rb
Expand Up @@ -296,7 +296,7 @@ def GetTypeFromIfcfg(ifcfg)
rule_key = Ops.get(key_type, 0, "")
rule_value = Ops.get(key_type, 1, "")
rule_type = Ops.get(key_type, 2, "")
type = rule_type if (ifcfg[rule_key] || "").downcase == rule_value.downcase
type = rule_type if (ifcfg[rule_key] || "").casecmp?(rule_value)
end

Builtins.foreach(@TypeByKeyExistence) do |key_type|
Expand Down

0 comments on commit 829b4ff

Please sign in to comment.