summaryrefslogtreecommitdiff
path: root/lib/ohai/plugins/eucalyptus.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ohai/plugins/eucalyptus.rb')
-rw-r--r--lib/ohai/plugins/eucalyptus.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ohai/plugins/eucalyptus.rb b/lib/ohai/plugins/eucalyptus.rb
index 8c5b4c21..35e7aae4 100644
--- a/lib/ohai/plugins/eucalyptus.rb
+++ b/lib/ohai/plugins/eucalyptus.rb
@@ -40,7 +40,7 @@ Ohai.plugin(:Eucalyptus) do
# detect if the mac address starts with d0:0d
def has_euca_mac?
- network[:interfaces].values.each do |iface|
+ network[:interfaces].each_value do |iface|
mac = get_mac_address(iface[:addresses])
if mac =~ /^[dD]0:0[dD]:/
Ohai::Log.debug("Plugin Eucalyptus: has_euca_mac? == true (#{mac})")