.
This commit is contained in:
parent
f955457dd6
commit
8dd523e281
@ -103,6 +103,7 @@ func processBuildStatus(h *common.RequestHandler, project, refProject *common.Bu
|
|||||||
repoRes := &project.Result[i]
|
repoRes := &project.Result[i]
|
||||||
repoResStatus, ok := common.ObsRepoStatusDetails[repoRes.Code]
|
repoResStatus, ok := common.ObsRepoStatusDetails[repoRes.Code]
|
||||||
if !ok {
|
if !ok {
|
||||||
|
h.LogError("cannot find code: %s", repoRes.Code)
|
||||||
return BuildStatusSummaryUnknown
|
return BuildStatusSummaryUnknown
|
||||||
}
|
}
|
||||||
if !repoResStatus.Finished {
|
if !repoResStatus.Finished {
|
||||||
@ -149,6 +150,7 @@ func processBuildStatus(h *common.RequestHandler, project, refProject *common.Bu
|
|||||||
}
|
}
|
||||||
|
|
||||||
if j >= len(refProject.Result) {
|
if j >= len(refProject.Result) {
|
||||||
|
h.LogError("Cannot find results... %#v \n %#v\n", project.Result[i], refProject.Result)
|
||||||
return BuildStatusSummaryUnknown
|
return BuildStatusSummaryUnknown
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user