Skip to content

Commit 513101a

Browse files
committed
Do not modify sanitizer URLs
This is confusing and unnecessary
1 parent 8a77c4b commit 513101a

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

dashboard/dashboard.go

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -419,7 +419,6 @@ $(function() {
419419
if err != nil {
420420
fmt.Fprintln(os.Stderr, err)
421421
}
422-
bots[i].url = s.builderUrl
423422
status_ch <- status_ret{i, s, err}
424423
}(i)
425424
}
@@ -437,7 +436,7 @@ $(function() {
437436
go func() { ossfuzz_ch <- GetOssFuzzStatusString() }()
438437

439438
for i := range bots {
440-
if bots[i].url == "" {
439+
if statuses[i].builderUrl == "" {
441440
fmt.Println(fmt.Sprintf("<tr><td colspan=%d><h2>", maxStatuses+3))
442441
fmt.Println(bots[i].name)
443442
fmt.Println("</h2></td></tr>")
@@ -492,7 +491,7 @@ $(function() {
492491
style = class(statuses[i].statuses[0].success)
493492
}
494493

495-
r += td("", a(bots[i].url, span(style, bots[i].name)))
494+
r += td("", a(statuses[i].builderUrl, span(style, bots[i].name)))
496495

497496
if errors[i] != nil {
498497
errStr := errors[i].Error()

0 commit comments

Comments
 (0)