Skip to content

Commit

Permalink
OHAI-263: fix regression preventing the collection of nested ec2 meta…
Browse files Browse the repository at this point in the history
…data
  • Loading branch information
btm committed Apr 21, 2011
1 parent da367fc commit c78a47c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ohai/mixin/ec2_metadata.rb
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ def fetch_metadata(id='')
http_client.get("#{EC2_METADATA_URL}/#{key}").body
end
else
next
fetch_metadata(key).each{|k,v| metadata[k] = v}
end
end
metadata
Expand Down

0 comments on commit c78a47c

Please sign in to comment.