mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Check the effective saltenv for cached archive
This fixes a regression caused by using a saltenv other than `base`.
This commit is contained in:
parent
43a45b42c3
commit
6cc5cd9b8a
1 changed files with 1 additions and 1 deletions
|
@ -975,7 +975,7 @@ def extracted(name,
|
|||
|
||||
if result['result']:
|
||||
# Get the path of the file in the minion cache
|
||||
cached = __salt__['cp.is_cached'](source_match)
|
||||
cached = __salt__['cp.is_cached'](source_match, saltenv=__env__)
|
||||
else:
|
||||
log.debug(
|
||||
'failed to download %s',
|
||||
|
|
Loading…
Add table
Reference in a new issue