mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
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() {
|
public Long getVpcId() {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user