submit-queue.tmpl: move HEAD information to result
This commit is contained in:
parent
ba62db97e9
commit
cd40e68dde
3 changed files with 29 additions and 13 deletions
|
|
@ -17,6 +17,7 @@ type Result struct {
|
|||
Series []Serie
|
||||
Error error
|
||||
startTime time.Time
|
||||
HEAD string
|
||||
}
|
||||
|
||||
// MakeResult produces a new Result struct,
|
||||
|
|
|
|||
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue