diff options
author | Florian Klink <flokli@flokli.de> | 2019-11-27T18·39+0100 |
---|---|---|
committer | Florian Klink <flokli@flokli.de> | 2019-11-27T18·39+0100 |
commit | cd40e68ddea1b52da9eaadb6e8f62c86bcfd3d54 (patch) | |
tree | ffdb318f548cfbc8f9c80e41929f3bb6e7067a70 /submitqueue | |
parent | ba62db97e95e87b011d9cc68aade162ef7c8d750 (diff) |
submit-queue.tmpl: move HEAD information to result
Diffstat (limited to 'submitqueue')
-rw-r--r-- | submitqueue/result.go | 1 | ||||
-rw-r--r-- | submitqueue/submitqueue.go | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/submitqueue/result.go b/submitqueue/result.go index a5ca662016b1..a15c2968f30d 100644 --- a/submitqueue/result.go +++ b/submitqueue/result.go @@ -17,6 +17,7 @@ type Result struct { Series []Serie Error error startTime time.Time + HEAD string } // MakeResult produces a new Result struct, diff --git a/submitqueue/submitqueue.go b/submitqueue/submitqueue.go index bd0ee230a903..eb622db6832d 100644 --- a/submitqueue/submitqueue.go +++ b/submitqueue/submitqueue.go @@ -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 { |