mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Bugfix: newer Zypper includes also a version of installed package
This commit is contained in:
parent
f9bef516de
commit
510dedd29f
1 changed files with 2 additions and 0 deletions
|
@ -162,6 +162,8 @@ def info_available(*names, **kwargs):
|
|||
if nfo.get("name"):
|
||||
name = nfo.pop("name")
|
||||
ret[name] = nfo
|
||||
if nfo.get("status"):
|
||||
nfo['status'] = nfo.get("status").split(" ")[0]
|
||||
|
||||
return ret
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue