mirror of https://github.com/apache/cloudstack.git
CLOUDSTACK-4451: more descriptive error message to associateIpAddress API call identifying why zoneId can't be figured out
This commit is contained in:
parent
59f25d2436
commit
e15c20ec05
|
|
@ -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() {
|
||||
|
|
|
|||
Loading…
Reference in New Issue