mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 17:09:03 +00:00
Merge pull request #40496 from rallytime/bp-40415
Back-port #40415 to 2016.11
This commit is contained in:
commit
a6291b17c1
@ -2283,7 +2283,7 @@ def create_route(route_table_id=None, destination_cidr_block=None,
|
||||
'must be provided.')
|
||||
|
||||
if not _exactly_one((gateway_id, internet_gateway_name, instance_id, interface_id, vpc_peering_connection_id,
|
||||
interface_id, nat_gateway_id, nat_gateway_subnet_id, nat_gateway_subnet_name)):
|
||||
nat_gateway_id, nat_gateway_subnet_id, nat_gateway_subnet_name)):
|
||||
raise SaltInvocationError('Only one of gateway_id, internet_gateway_name, instance_id, '
|
||||
'interface_id, vpc_peering_connection_id, nat_gateway_id, '
|
||||
'nat_gateway_subnet_id or nat_gateway_subnet_name may be provided.')
|
||||
|
Loading…
Reference in New Issue
Block a user