cloudapi: fix koji build result
The incorrect result object was being used for the kojibuild error objects.
This commit is contained in:
parent
da94f2cbeb
commit
596464e8a2
1 changed files with 1 additions and 1 deletions
|
|
@ -605,7 +605,7 @@ func (h *apiHandlers) GetComposeStatus(ctx echo.Context, id string) error {
|
|||
buildJobResults = append(buildJobResults, buildJobResult)
|
||||
buildJobStatuses = append(buildJobStatuses, ImageStatus{
|
||||
Status: imageStatusFromKojiJobStatus(buildJobStatus, &initResult, &buildJobResult),
|
||||
Error: composeStatusErrorFromJobError(result.JobError),
|
||||
Error: composeStatusErrorFromJobError(buildJobResult.JobError),
|
||||
})
|
||||
}
|
||||
response := ComposeStatus{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue