mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
Merge pull request #2342 from faber/auto-scaling-group-initializer-bugfix
Fix initialization of instances array in AWS autoscaling group
This commit is contained in:
commit
5442bc7e89
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@ module Fog
|
|||
attribute :vpc_zone_identifier, :aliases => 'VPCZoneIdentifier'
|
||||
|
||||
def initialize(attributes={})
|
||||
attributes['Instances'] ||= []
|
||||
self.instances = []
|
||||
self.default_cooldown = 300
|
||||
self.desired_capacity = 0
|
||||
self.enabled_metrics = []
|
||||
|
|
Loading…
Add table
Reference in a new issue