summaryrefslogtreecommitdiff
path: root/lib/ohai/plugins/linode.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ohai/plugins/linode.rb')
-rw-r--r--lib/ohai/plugins/linode.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ohai/plugins/linode.rb b/lib/ohai/plugins/linode.rb
index 4a7266cb..64e8a62f 100644
--- a/lib/ohai/plugins/linode.rb
+++ b/lib/ohai/plugins/linode.rb
@@ -57,7 +57,7 @@ Ohai.plugin(:Linode) do
linode Mash.new
get_ip_address(:public_ip, :eth0)
get_ip_address(:private_ip, "eth0:1")
- hint?("linode").each { |k, v| linode[k] = v } if hint?("linode").kind_of?(Hash)
+ hint?("linode").each { |k, v| linode[k] = v } if hint?("linode").is_a?(Hash)
else
logger.trace("Plugin Linode: looks_like_linode? == false")
end