mirror of
https://github.com/apache/cloudstack.git
synced 2025-11-03 04:12:31 +01:00
bug 7088: returning right error msg for assocIp failure
This commit is contained in:
parent
9527b40d1f
commit
d8fdcd3815
@ -723,7 +723,7 @@ public class NetworkManagerImpl implements NetworkManager, NetworkService, Manag
|
||||
|
||||
DomainRouterVO router = _routerMgr.getRouter(accountId, zoneId);
|
||||
if (router == null) {
|
||||
throw new InvalidParameterValueException("No router found for account: " + accountToLock.getAccountName() + ".");
|
||||
throw new InvalidParameterValueException("No router found for account: " + accountToLock.getAccountName() + ". Please create a VM before acquiring an IP");
|
||||
}
|
||||
|
||||
txn.start();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user