mirror of
https://github.com/alice-lg/birdwatcher.git
synced 2025-03-09 00:00:05 +01:00
restored nesting in payload for status and symbols
This commit is contained in:
parent
2ccfaea405
commit
30e86d086f
1 changed files with 2 additions and 2 deletions
|
@ -65,7 +65,7 @@ func parseStatus(input []byte) Parsed {
|
|||
res["message"] = line
|
||||
}
|
||||
}
|
||||
return res
|
||||
return Parsed{"status": res}
|
||||
}
|
||||
|
||||
func parseProtocols(input []byte) Parsed {
|
||||
|
@ -105,7 +105,7 @@ func parseSymbols(input []byte) Parsed {
|
|||
}
|
||||
}
|
||||
|
||||
return res
|
||||
return Parsed{"symbols": res}
|
||||
}
|
||||
|
||||
func mainRouteDetail(groups []string, route Parsed) Parsed {
|
||||
|
|
Loading…
Add table
Reference in a new issue