mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Lowered name of available packages before comparing with local packages
This commit is contained in:
parent
2e1f7c37f7
commit
4be1a991c2
1 changed files with 1 additions and 0 deletions
|
@ -928,6 +928,7 @@ def version(name, check_remote=False, source=None, pre_versions=False):
|
|||
|
||||
if check_remote:
|
||||
available = list_(narrow=name, pre_versions=pre_versions, source=source)
|
||||
available = {k.lower(): v for k, v in available.items()}
|
||||
|
||||
for pkg in packages:
|
||||
packages[pkg] = {'installed': installed[pkg],
|
||||
|
|
Loading…
Add table
Reference in a new issue