mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Simplify app debug json structure
This commit is contained in:
parent
aed11d9212
commit
fd81c0950d
1 changed files with 2 additions and 3 deletions
|
@ -731,9 +731,8 @@ def app_debug(app):
|
||||||
return {
|
return {
|
||||||
'name': manifest['name'],
|
'name': manifest['name'],
|
||||||
'services_logs': [{
|
'services_logs': [{
|
||||||
'service': x,
|
x: service_log(x),
|
||||||
'log': service_log(x),
|
} for x in sorted(manifest.get("services", []))]
|
||||||
} for x in manifest.get("services", [])]
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue