mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 00:55:19 +00:00
Fixing a typo in the boto_cloudfront.
This commit is contained in:
parent
4c4bb5a489
commit
b5b90a1608
@ -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']
|
||||||
|
Loading…
Reference in New Issue
Block a user