submit-queue.tmpl: move HEAD information to result

This commit is contained in:
Florian Klink 2019-11-27 19:39:42 +01:00
parent ba62db97e9
commit cd40e68dde
3 changed files with 29 additions and 13 deletions

View file

@ -17,6 +17,7 @@ type Result struct {
Series []Serie
Error error
startTime time.Time
HEAD string
}
// MakeResult produces a new Result struct,

View file

@ -171,6 +171,7 @@ func (s *SubmitQueue) Run(fetchOnly bool) *Result {
return r
}
s.HEAD = commitID
r.HEAD = commitID
err = s.LoadSeries(log)
if err != nil {