mirror of https://github.com/apache/cloudstack.git
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:
parent
c12a8187af
commit
358f3edc57
|
|
@ -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());
|
||||
|
|
|
|||
Loading…
Reference in New Issue