mirror of
https://github.com/sourcegraph/sourcegraph.git
synced 2026-02-06 19:51:50 +00:00
repo-updater: Fix state page (#17272)
A previous commit, a56ad2f9, removed the URL field from our
configuredRepo type but we were still trying to render it.
This commit is contained in:
parent
0736aa1975
commit
f449be875f
6
cmd/repo-updater/shared/assets/bindata.go
generated
6
cmd/repo-updater/shared/assets/bindata.go
generated
File diff suppressed because one or more lines are too long
@ -45,10 +45,7 @@
|
||||
<tr>
|
||||
<td>{{.Repo.ID}}</td>
|
||||
<td>
|
||||
<a href="{{.Repo.URL}}"
|
||||
data-toggle="tooltip" data-placement="bottom" title="{{.Repo.URL}}">
|
||||
{{.Repo.Name}}
|
||||
</a>
|
||||
{{.Repo.Name}}
|
||||
</td>
|
||||
<td>{{truncateDuration .Interval}}</td>
|
||||
<td>{{.Due.Format "Mon, 02 Jan 2006 15:04:05 MST"}}</td>
|
||||
|
||||
@ -386,7 +386,7 @@ func (s *updateScheduler) DebugDump() interface{} {
|
||||
}
|
||||
for i, update := range s.updateQueue.heap {
|
||||
// Copy the repoUpdate as a value so that
|
||||
// poping off the heap here won't update the index value of the real heap, and
|
||||
// popping off the heap here won't update the index value of the real heap, and
|
||||
// we don't do a racy read on the repo pointer which may change concurrently in the real heap.
|
||||
updateCopy := *update
|
||||
updateQueue.heap[i] = &updateCopy
|
||||
|
||||
Loading…
Reference in New Issue
Block a user