mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Bugfix: broken "upgrade_available" and should always return dict.
This commit is contained in:
parent
2ae7ada3c9
commit
f9bef516de
1 changed files with 0 additions and 3 deletions
|
@ -215,9 +215,6 @@ def latest_version(*names, **kwargs):
|
|||
else:
|
||||
ret[name] = ''
|
||||
|
||||
# Return a string if only one package name passed
|
||||
if len(names) == 1 and len(ret):
|
||||
return ret[names[0]]
|
||||
return ret
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue