Updated Branches: refs/heads/autoscale c3bb877ed -> ee672846a
CS-15744:Incorrect error message with disable autoscaleVmgroup operation- patch sent by Deepak Garg ([email protected]) Project: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/commit/ee672846 Tree: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/tree/ee672846 Diff: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/diff/ee672846 Branch: refs/heads/autoscale Commit: ee672846aafd56e68dc0bef76ff1eb40a35ac73a Parents: c3bb877 Author: Pranav Saxena <[email protected]> Authored: Wed Aug 1 19:11:59 2012 +0530 Committer: Pranav Saxena <[email protected]> Committed: Wed Aug 1 19:11:59 2012 +0530 ---------------------------------------------------------------------- .../com/cloud/network/as/AutoScaleManagerImpl.java | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/ee672846/server/src/com/cloud/network/as/AutoScaleManagerImpl.java ---------------------------------------------------------------------- diff --git a/server/src/com/cloud/network/as/AutoScaleManagerImpl.java b/server/src/com/cloud/network/as/AutoScaleManagerImpl.java index 6f81e28..8c39097 100644 --- a/server/src/com/cloud/network/as/AutoScaleManagerImpl.java +++ b/server/src/com/cloud/network/as/AutoScaleManagerImpl.java @@ -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 {
