Skip to content

Commit

Permalink
Merge pull request #2342 from faber/auto-scaling-group-initializer-bu…
Browse files Browse the repository at this point in the history
…gfix

Fix initialization of instances array in AWS autoscaling group
  • Loading branch information
geemus committed Oct 31, 2013
2 parents e35e7c1 + acc1d95 commit 5442bc7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/fog/aws/models/auto_scaling/group.rb
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class Group < Fog::Model
attribute :vpc_zone_identifier, :aliases => 'VPCZoneIdentifier'

def initialize(attributes={})
attributes['Instances'] ||= []
self.instances = []
self.default_cooldown = 300
self.desired_capacity = 0
self.enabled_metrics = []
Expand Down

0 comments on commit 5442bc7

Please sign in to comment.