Fixing a typo in the boto_cloudfront.

This commit is contained in:
Gareth J. Greenaway 2018-10-16 11:01:35 -07:00
parent 4c4bb5a489
commit b5b90a1608
No known key found for this signature in database
GPG Key ID: 10B62F8A7CAD7A41

View File

@ -400,9 +400,9 @@ def update_distribution(
keyid=keyid, keyid=keyid,
profile=profile profile=profile
) )
if 'error' in distribution_result: if 'error' in distribution_ret:
return distribution_result return distribution_ret
dist_with_tags = distribution_result['result'] dist_with_tags = distribution_ret['result']
current_distribution = dist_with_tags['distribution'] current_distribution = dist_with_tags['distribution']
current_config = current_distribution['DistributionConfig'] current_config = current_distribution['DistributionConfig']