mirror of
https://github.com/valitydev/salt.git
synced 2024-11-09 01:36:48 +00:00
Fix renamed method
This commit is contained in:
parent
3556f2207b
commit
f0279d0e49
@ -188,7 +188,7 @@ def latest_version(*names, **kwargs):
|
||||
return ret
|
||||
|
||||
names = sorted(list(set(names)))
|
||||
package_info = info(*names)
|
||||
package_info = info_available(*names)
|
||||
for name in names:
|
||||
pkg_info = package_info.get(name)
|
||||
if pkg_info is not None and pkg_info.get('status', '').lower() in ['not installed', 'out-of-date']:
|
||||
|
Loading…
Reference in New Issue
Block a user