diff options
author | Tim Smith <tsmith@chef.io> | 2018-03-06 10:38:39 -0800 |
---|---|---|
committer | Tim Smith <tsmith@chef.io> | 2018-03-06 10:38:39 -0800 |
commit | 011db28d6c3026ac41b9c519a87643d70ecf9be5 (patch) | |
tree | 636e072786c5aa143ce3cd964da1548f5b1ea818 /lib/ohai/provides_map.rb | |
parent | dfa786b965a649349ef77def4c22af454c33ccb0 (diff) | |
download | ohai-green_travis.tar.gz |
Resolve the last of the chefstyle warningsgreen_travis
Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'lib/ohai/provides_map.rb')
-rw-r--r-- | lib/ohai/provides_map.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ohai/provides_map.rb b/lib/ohai/provides_map.rb index f9ba0518..0aba1939 100644 --- a/lib/ohai/provides_map.rb +++ b/lib/ohai/provides_map.rb @@ -171,7 +171,7 @@ module Ohai # map, it will find all of the plugins that have at least one provided # attribute. def collect_plugins_in(provides_map, collected) - provides_map.keys.each do |plugin| + provides_map.each_key do |plugin| if plugin.eql?("_plugins") collected.concat(provides_map[plugin]) else |