[cloud] Fix inconsistent case of Allocation_id
in NAT Gateway outputs (#36058)
This commit is contained in:
parent
b3ce136256
commit
2678508d42
1 changed files with 1 additions and 1 deletions
|
@ -684,7 +684,7 @@ def create(client, subnet_id, allocation_id, client_token=None,
|
||||||
else:
|
else:
|
||||||
result = DRY_RUN_GATEWAYS[0]
|
result = DRY_RUN_GATEWAYS[0]
|
||||||
result['create_time'] = datetime.datetime.utcnow()
|
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
|
result['subnet_id'] = subnet_id
|
||||||
|
|
||||||
success = True
|
success = True
|
||||||
|
|
Loading…
Reference in a new issue