CS-15744:Incorrect error message with disable autoscaleVmgroup operation- patch sent by Deepak Garg (deepakgarg.iitg@gmail.com)

This commit is contained in:
Pranav Saxena 2012-08-01 19:11:59 +05:30 committed by Vijay Venkatachalam
parent e9a4a7b1e6
commit 6daff57fdd
1 changed files with 1 additions and 1 deletions

View File

@ -969,7 +969,7 @@ public class AutoScaleManagerImpl<Type> implements AutoScaleService, Manager {
AutoScaleVmGroupVO vmGroup = getEntityInDatabase(UserContext.current().getCaller(), "AutoScale Vm Group", id, _autoScaleVmGroupDao);
boolean success = false;
if (!vmGroup.getState().equals(AutoScaleVmGroup.State_Enabled)) {
throw new InvalidParameterValueException("Only a AutoScale Vm Group which is in Disabled state can be disabled.");
throw new InvalidParameterValueException("Only a AutoScale Vm Group which is in Enabled state can be disabled.");
}
try {