]> review.fuel-infra Code Review - openstack-build/heat-build.git/commit
autoscaling: don't kill all instances when scaling down
authorAngus Salkeld <asalkeld@redhat.com>
Mon, 23 Jul 2012 10:12:05 +0000 (20:12 +1000)
committerAngus Salkeld <asalkeld@redhat.com>
Mon, 23 Jul 2012 10:12:05 +0000 (20:12 +1000)
commit312a84ec70ffc3cbbc9b1cbb2f8c62e4d21e97c8
tree1cc9bbd23d66d72783e49074aa34ff1764e443f8
parentdeebc5c42aa900ee1543c6d6d791fea3e274cd4e
autoscaling: don't kill all instances when scaling down

only delete the difference between the old capacity and the new capacity

doh!

Change-Id: Idbb16b2fa93abcad2793d5b4365c18a01e588b99
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
heat/engine/autoscaling.py