mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
This commit is contained in:
parent
fd757fffa3
commit
8280e5256e
1 changed files with 1 additions and 1 deletions
|
@ -3795,7 +3795,7 @@ def get_managed(
|
|||
# but `cached_sum == source_sum['hsum']` is elliptical as prev if
|
||||
sfn = cached_dest
|
||||
source_sum = {'hsum': cached_sum, 'hash_type': htype}
|
||||
elif cached_sum != source_sum['hsum']:
|
||||
elif cached_sum != source_sum.get('hsum', __opts__['hash_type']):
|
||||
cache_refetch = True
|
||||
|
||||
# If we didn't have the template or remote file, let's get it
|
||||
|
|
Loading…
Add table
Reference in a new issue