mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Bugfix: use boolean type instead of string "Yes" or "No" (NOTE: this was forgotten)
This commit is contained in:
parent
decb989eb4
commit
350340dafa
1 changed files with 2 additions and 0 deletions
|
@ -164,6 +164,8 @@ def info_available(*names, **kwargs):
|
|||
ret[name] = nfo
|
||||
if nfo.get("status"):
|
||||
nfo['status'] = nfo.get("status").split(" ")[0]
|
||||
if nfo.get("installed"):
|
||||
nfo['installed'] = nfo.get("installed").lower() == "yes" and True or False
|
||||
|
||||
return ret
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue