mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Changed repocache back to cached_repo
This commit is contained in:
parent
737fb1410c
commit
81d5b5ee55
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