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,
|
||||
profile=profile
|
||||
)
|
||||
if 'error' in distribution_result:
|
||||
return distribution_result
|
||||
dist_with_tags = distribution_result['result']
|
||||
if 'error' in distribution_ret:
|
||||
return distribution_ret
|
||||
dist_with_tags = distribution_ret['result']
|
||||
|
||||
current_distribution = dist_with_tags['distribution']
|
||||
current_config = current_distribution['DistributionConfig']
|
||||
|
Loading…
Reference in New Issue
Block a user