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

[AWS|Autoscaling] fix group#instances returning all autoscaled instances in the account

attributes[:instances] already has all the data - we just need to load it into a collection
This commit is contained in:
Frederick Cheung 2012-07-20 16:52:19 +01:00
parent 261b1a5877
commit 85b4e31e5f

View file

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