mirror of
https://github.com/datarhei/core.git
synced 2025-11-03 02:23:42 +08:00
Fix tests and marshalling process config
This commit is contained in:
@@ -354,7 +354,9 @@ func (h *ProcessHandler) Update(c echo.Context) error {
|
||||
h.restream.SetProcessMetadata(tid, key, data)
|
||||
}
|
||||
|
||||
return c.JSON(http.StatusOK, process)
|
||||
p, _ := h.getProcess(tid, newFilter("config"))
|
||||
|
||||
return c.JSON(http.StatusOK, p.Config)
|
||||
}
|
||||
|
||||
// Command issues a command to a process
|
||||
|
||||
Reference in New Issue
Block a user