mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
do not change kwargs in refresh while checking a value
This commit is contained in:
parent
644b14c273
commit
274e6467be
1 changed files with 1 additions and 1 deletions
|
@ -199,7 +199,7 @@ def info_available(*names, **kwargs):
|
|||
names = sorted(list(set(names)))
|
||||
|
||||
# Refresh db before extracting the latest package
|
||||
if kwargs.pop('refresh', True):
|
||||
if kwargs.get('refresh', True):
|
||||
refresh_db()
|
||||
|
||||
pkg_info = []
|
||||
|
|
Loading…
Add table
Reference in a new issue