int count = containers.size();
int delta = minimumInstances - count;
try {
AutoScaleProfileStatus profileStatus = status.profileStatus(profile);
if (delta < 0) {
profileStatus.destroyingContainer();
autoScaler.destroyContainers(profile, -delta, containers);
} else if (delta > 0) {
if (AutoScalers.requirementsSatisfied(service, requirements, profileRequirement, status)) {
profileStatus.creatingContainer();
String requirementsVersion = requirements.getVersion();