Fix tests and marshalling process config

This commit is contained in:
Ingo Oppermann
2025-05-15 15:09:47 +02:00
parent cc0da080c6
commit fc97a6f069
5 changed files with 8 additions and 4 deletions

View File

@@ -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