CS-14775: When trying to vms when there is enough capacity for only Vms between the min and max range , we donot respect the min count.

Changes:

Deploy minimum instances if the max allowed is less than the specified max. number in the request.
This commit is contained in:
prachi 2012-05-07 14:31:01 -07:00
parent 2dff3e7422
commit da884e18ef
1 changed files with 1 additions and 1 deletions

View File

@ -1377,7 +1377,7 @@ public class EC2Engine {
}
if ( canCreateInstances < request.getMaxCount())
createInstances = canCreateInstances;
createInstances = request.getMinCount();
else
createInstances = request.getMaxCount();