cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From alena1...@apache.org
Subject git commit: updated refs/heads/master to e15c20e
Date Thu, 24 Jul 2014 21:09:37 GMT
Repository: cloudstack
Updated Branches:
  refs/heads/master 59f25d243 -> e15c20ec0


CLOUDSTACK-4451: more descriptive error message to associateIpAddress API call identifying
why zoneId can't be figured out


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

Branch: refs/heads/master
Commit: e15c20ec056df568d8cbbbb406370a708e80e9d8
Parents: 59f25d2
Author: Alena Prokharchyk <alena.prokharchyk@citrix.com>
Authored: Thu Jul 24 13:59:57 2014 -0700
Committer: Alena Prokharchyk <alena.prokharchyk@citrix.com>
Committed: Thu Jul 24 14:00:39 2014 -0700

----------------------------------------------------------------------
 .../cloudstack/api/command/user/address/AssociateIPAddrCmd.java   | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/e15c20ec/api/src/org/apache/cloudstack/api/command/user/address/AssociateIPAddrCmd.java
----------------------------------------------------------------------
diff --git a/api/src/org/apache/cloudstack/api/command/user/address/AssociateIPAddrCmd.java
b/api/src/org/apache/cloudstack/api/command/user/address/AssociateIPAddrCmd.java
index 96174e1..ae13717 100644
--- a/api/src/org/apache/cloudstack/api/command/user/address/AssociateIPAddrCmd.java
+++ b/api/src/org/apache/cloudstack/api/command/user/address/AssociateIPAddrCmd.java
@@ -142,7 +142,8 @@ public class AssociateIPAddrCmd extends BaseAsyncCreateCmd {
             }
         }
 
-        throw new InvalidParameterValueException("Unable to figure out zone to assign ip
to");
+        throw new InvalidParameterValueException("Unable to figure out zone to assign ip
to."
+                + " Please specify either zoneId, or networkId, or vpcId in the call");
     }
 
     public Long getVpcId() {


Mime
View raw message