AutoScalingGroup.update does not set desired_capacity when it's 0 #1757

Open
danchia opened this Issue Oct 1, 2013 · 1 comment

Comments

Projects
None yet
2 participants
@danchia

danchia commented Oct 1, 2013

if g is an AutoScalingGroup

g.min_size = 0
g.desired_capacity = 0
g.update()

fails to update because https://github.com/boto/boto/blob/develop/boto/ec2/autoscale/__init__.py#L166 fails to set the desired_capacity

oxtopus added a commit to oxtopus/boto that referenced this issue Dec 13, 2013

danielgtaylor added a commit that referenced this issue Dec 18, 2013

Merge pull request #1906 from oxtopus/issue-1757-update_desired_capacity
Update DesiredCapacity if AutoScalingGroup.desired_capacity is not None. Fixes #1906, #1757.
@ralfharing

This comment has been minimized.

Show comment Hide comment
@ralfharing

ralfharing May 3, 2014

Contributor

Seems like this should be closed?

Contributor

ralfharing commented May 3, 2014

Seems like this should be closed?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment