mirror of
https://github.com/valitydev/salt.git
synced 2024-11-09 01:36:48 +00:00
Merge pull request #5117 from cvrebert/patch-1
win_pkg mod: actually invoke refresh_db
This commit is contained in:
commit
ed8b371c6e
@ -571,7 +571,7 @@ def _get_package_info(name):
|
||||
repocache = __opts__['win_repo_cachefile']
|
||||
cached_repo = __salt__['cp.is_cached'](repocache)
|
||||
if not cached_repo:
|
||||
__salt__['pkg.refresh_db']
|
||||
__salt__['pkg.refresh_db']()
|
||||
try:
|
||||
with salt.utils.fopen(cached_repo, 'r') as repofile:
|
||||
try:
|
||||
|
Loading…
Reference in New Issue
Block a user