All calls to describe_vpc_peering_connections need to use the params dict

reviewable/pr18780/r1
Mike Mochan 9 years ago committed by Toshio Kuratomi
parent 8ab4963e78
commit a58a12fc1f

@ -168,8 +168,8 @@ def describe_peering_connections(params, client):
]) ])
if result['VpcPeeringConnections'] == []: if result['VpcPeeringConnections'] == []:
result = client.describe_vpc_peering_connections(Filters=[ result = client.describe_vpc_peering_connections(Filters=[
{'Name': 'requester-vpc-info.vpc-id', 'Values': [peer_vpc_id]}, {'Name': 'requester-vpc-info.vpc-id', 'Values': [params['PeerVpcId']]},
{'Name': 'accepter-vpc-info.vpc-id', 'Values': [vpc_id]} {'Name': 'accepter-vpc-info.vpc-id', 'Values': [params['VpcId']]}
]) ])
return result return result

Loading…
Cancel
Save