Skip to content

Commit

Permalink
Probably fixes #13 "standup crashes if there are VPC instances in the…
Browse files Browse the repository at this point in the history
… EC2"
  • Loading branch information
Flamefork committed Aug 28, 2012
1 parent 4e99887 commit 214c2ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/standup/ec2/instance.rb
Expand Up @@ -73,7 +73,7 @@ def self.build_info ritem, item
:internal_ip => item.privateIpAddress,
:state => item.instanceState.name.to_sym,
:architecture => item.architecture,
:security_groups => ritem.groupSet.item.map{|i| SecurityGroup.new(i.groupId)}
:security_groups => ritem.groupSet ? ritem.groupSet.item.map{|i| SecurityGroup.new(i.groupId)} : []
end
end
end
Expand Down

0 comments on commit 214c2ea

Please sign in to comment.