cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pran...@apache.org
Subject git commit: CS-15744:Incorrect error message with disable autoscaleVmgroup operation- patch sent by Deepak Garg (deepakgarg.iitg@gmail.com)
Date Wed, 01 Aug 2012 13:45:38 GMT
Updated Branches:
  refs/heads/autoscale c3bb877ed -> ee672846a


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


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 <pranav.saxena@citrix.com>
Authored: Wed Aug 1 19:11:59 2012 +0530
Committer: Pranav Saxena <pranav.saxena@citrix.com>
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 {


Mime
View raw message