mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Fix renamed method
This commit is contained in:
parent
6ba269fbc6
commit
306958dad0
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue