mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
CLOUDSTACK-3902: createVpcOffering - throw an excpetion when sourceNat service is not passed in
This commit is contained in:
parent
906ea82572
commit
a36c8a962b
@ -314,8 +314,7 @@ public class VpcManagerImpl extends ManagerBase implements VpcManager, VpcProvis
|
||||
}
|
||||
|
||||
if (!sourceNatSvc) {
|
||||
s_logger.debug("Automatically adding source nat service to the list of VPC services");
|
||||
svcProviderMap.put(Service.SourceNat, defaultProviders);
|
||||
throw new InvalidParameterValueException("SourceNat service is required by VPC offering");
|
||||
}
|
||||
|
||||
if (!firewallSvs) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user