mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Fixing a typo in the boto_cloudfront.
This commit is contained in:
parent
4c4bb5a489
commit
b5b90a1608
1 changed files with 3 additions and 3 deletions
|
@ -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…
Add table
Reference in a new issue