cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From du...@apache.org
Subject [05/50] [abbrv] git commit: updated refs/heads/ldapplugin to bdba0dd
Date Fri, 30 Aug 2013 23:27:58 GMT
fix exception message

changed the exception message to include accountName instead of account, since account at
this point is known to be null

Signed-off-by: Laszlo Hornyak <laszlo.hornyak@gmail.com>
Signed-off-by: Chiradeep Vittal <chiradeep@apache.org>


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/3fe468cc
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/3fe468cc
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/3fe468cc

Branch: refs/heads/ldapplugin
Commit: 3fe468cc28c3c8aa1f06acc0bbc6973e07feadec
Parents: b68dd4c
Author: Laszlo Hornyak <laszlo.hornyak@gmail.com>
Authored: Tue Aug 27 21:16:36 2013 +0200
Committer: Chiradeep Vittal <chiradeep@apache.org>
Committed: Wed Aug 28 11:58:46 2013 -0700

----------------------------------------------------------------------
 .../api/command/user/loadbalancer/CreateLoadBalancerRuleCmd.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/3fe468cc/api/src/org/apache/cloudstack/api/command/user/loadbalancer/CreateLoadBalancerRuleCmd.java
----------------------------------------------------------------------
diff --git a/api/src/org/apache/cloudstack/api/command/user/loadbalancer/CreateLoadBalancerRuleCmd.java
b/api/src/org/apache/cloudstack/api/command/user/loadbalancer/CreateLoadBalancerRuleCmd.java
index 157315f..a368436 100644
--- a/api/src/org/apache/cloudstack/api/command/user/loadbalancer/CreateLoadBalancerRuleCmd.java
+++ b/api/src/org/apache/cloudstack/api/command/user/loadbalancer/CreateLoadBalancerRuleCmd.java
@@ -316,7 +316,7 @@ public class CreateLoadBalancerRuleCmd extends BaseAsyncCreateCmd  /*implements
             if (account != null) {
                 return account.getId();
             } else {
-                throw new InvalidParameterValueException("Unable to find account " + account
+ " in domain id=" + domainId);
+                throw new InvalidParameterValueException("Unable to find account " + accountName
+ " in domain id=" + domainId);
             }
         } else {
             throw new InvalidParameterValueException("Can't define IP owner. Either specify
account/domainId or publicIpId");


Mime
View raw message