lib/ohai/dsl/plugin/versionvii.rb in ohai-16.7.18 vs lib/ohai/dsl/plugin/versionvii.rb in ohai-16.7.37
- old
+ new
@@ -193,11 +193,9 @@
# Plugin names in config hashes are auto-vivified, so we check with
# key? to avoid falsely instantiating a configuration hash.
if Ohai.config[:plugin].key?(snake_case_name)
Ohai.config[:plugin][snake_case_name]
- else
- nil
end
end
end
end
end