mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Added comment so this issue doesn't regress again
This commit is contained in:
parent
1455fab9e3
commit
d2119ea608
1 changed files with 3 additions and 1 deletions
|
@ -1004,8 +1004,10 @@ def check_db(*names, **kwargs):
|
|||
__context__['pkg._avail'] = avail
|
||||
|
||||
ret = {}
|
||||
# This repoquery NEEDS to be outside the loop below. It can be slow, and running it multiple
|
||||
# times inside the loop can degrade performance greatly.
|
||||
if names:
|
||||
repoquery_cmd = repoquery_base + names
|
||||
repoquery_cmd = repoquery_base + list(names)
|
||||
provides = sorted(
|
||||
set(x.name for x in _repoquery_pkginfo(repoquery_cmd))
|
||||
)
|
||||
|
|
Loading…
Add table
Reference in a new issue