CLOUDSTACK-2609 Fixed accoundId, domainId for the secondary ip address for shared networks

Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
This commit is contained in:
Jayapal 2013-06-11 11:49:34 +05:30 committed by Abhinandan Prateek
parent c12a8187af
commit 358f3edc57
1 changed files with 2 additions and 2 deletions

View File

@ -670,8 +670,8 @@ public class NetworkServiceImpl extends ManagerBase implements NetworkService {
if (network == null) {
throw new InvalidParameterValueException("Invalid network id is given");
}
accountId = network.getAccountId();
domainId = network.getDomainId();
accountId = ipOwner.getAccountId();
domainId = ipOwner.getDomainId();
// Validate network offering
NetworkOfferingVO ntwkOff = _networkOfferingDao.findById(network.getNetworkOfferingId());