[cloud] Fix inconsistent case of Allocation_id in NAT Gateway outputs (#36058)

This commit is contained in:
Ryan Brown 2018-02-15 10:51:16 -05:00 committed by GitHub
parent b3ce136256
commit 2678508d42
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -684,7 +684,7 @@ def create(client, subnet_id, allocation_id, client_token=None,
else:
result = DRY_RUN_GATEWAYS[0]
result['create_time'] = datetime.datetime.utcnow()
result['nat_gateway_addresses'][0]['Allocation_id'] = allocation_id
result['nat_gateway_addresses'][0]['allocation_id'] = allocation_id
result['subnet_id'] = subnet_id
success = True