mirror of https://github.com/apache/cloudstack.git
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…
Reference in New Issue