api/koji: fix /compose/log route
We have been actually unmarshalling into a wrong datatype for a year, by fixing this, we should get much more logging in Brew. Signed-off-by: Ondřej Budai <ondrej@budai.cz>
This commit is contained in:
parent
8136e0f069
commit
c55ec88505
1 changed files with 1 additions and 1 deletions
|
|
@ -400,7 +400,7 @@ func (h *apiHandlers) GetComposeIdLogs(ctx echo.Context, idstr string) error {
|
|||
if _, _, err := h.getBuildJob(deps[i]); err != nil {
|
||||
panic(err)
|
||||
}
|
||||
var buildResult worker.OSBuildJobResult
|
||||
var buildResult worker.OSBuildKojiJobResult
|
||||
_, _, err = h.server.workers.JobStatus(deps[i], &buildResult)
|
||||
if err != nil {
|
||||
// This is a programming error.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue