Skip to content
This repository has been archived by the owner on May 11, 2022. It is now read-only.

Commit

Permalink
issue #42: restore showing internal links
Browse files Browse the repository at this point in the history
  • Loading branch information
kamilsk committed May 6, 2018
1 parent 76c667f commit 39a40ef
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions http/availability/report.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ func (r *Report) For(rawURLs []string) *Report {
return r
}

// Fill ...
// Fill starts to fetch sites and prepared them for reading.
func (r *Report) Fill() *Report {
wg := &sync.WaitGroup{}
for _, site := range r.sites {
Expand Down Expand Up @@ -174,9 +174,6 @@ func (s *Site) listen(events <-chan event) {
if !found {
panic(errors.Errorf("panic: not consistent fetch result. link %q not found", linkLocation))
}
if _, found := pages[linkLocation]; found {
continue // exclude internal links
}
page, found := pages[pageLocation]
if !found {
panic(errors.Errorf("panic: not consistent fetch result. page %q not found", pageLocation))
Expand Down

0 comments on commit 39a40ef

Please sign in to comment.