mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Merge pull request #25797 from twangboy/fix_revert_in_25763
Changed repocache back to cached_repo
This commit is contained in:
commit
4a38d4a606
1 changed files with 1 additions and 1 deletions
|
@ -629,7 +629,7 @@ def get_repo_data(saltenv='base'):
|
|||
log.error('No repo file found on the minion')
|
||||
return {}
|
||||
try:
|
||||
with salt.utils.fopen(repocache, 'rb') as repofile:
|
||||
with salt.utils.fopen(cached_repo, 'rb') as repofile:
|
||||
try:
|
||||
repodata = msgpack.loads(repofile.read()) or {}
|
||||
#__context__['winrepo.data'] = repodata
|
||||
|
|
Loading…
Add table
Reference in a new issue