1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00

Merge pull request #1050 from fcheung/as_group_instances

[AWS|Autoscaling] fix group#instances returning all autoscaled instances...
This commit is contained in:
Wesley Beary 2012-07-20 11:56:19 -07:00
commit 64333c0a2d

View file

@ -73,10 +73,7 @@ module Fog
end
def instances
Fog::AWS::AutoScaling::Instances.new({
:data => attributes['Instances'],
:connection => connection
})
Fog::AWS::AutoScaling::Instances.new(:connection => connection).load(attributes[:instance])
end
def instances_in_service