mirror of https://github.com/apache/cloudstack.git
CS-15744:Incorrect error message with disable autoscaleVmgroup operation- patch sent by Deepak Garg (deepakgarg.iitg@gmail.com)
This commit is contained in:
parent
e9a4a7b1e6
commit
6daff57fdd
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Reference in New Issue