CS-15744. Fixed the error message

This commit is contained in:
Deepak Garg 2012-08-01 12:25:02 +05:30
parent cb0bcfa63a
commit 3b3c62d5cc
1 changed files with 1 additions and 1 deletions

View File

@ -965,7 +965,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.", null);
throw new InvalidParameterValueException("Only a AutoScale Vm Group which is in Enabled state can be disabled.", null);
}
try {