chg: fix: lint issue
This commit is contained in:
@@ -81,7 +81,7 @@ func (i *Indexer) HandlerBluDVIndexer(w http.ResponseWriter, r *http.Request) {
|
||||
|
||||
// if no links were indexed, expire the document in cache
|
||||
if len(links) == 0 {
|
||||
i.requester.ExpireDocument(ctx, url)
|
||||
_ = i.requester.ExpireDocument(ctx, url)
|
||||
}
|
||||
|
||||
// extract each torrent link
|
||||
|
||||
@@ -95,7 +95,7 @@ func (i *Indexer) HandlerComandoIndexer(w http.ResponseWriter, r *http.Request)
|
||||
|
||||
// if no links were indexed, expire the document in cache
|
||||
if len(links) == 0 {
|
||||
i.requester.ExpireDocument(ctx, url)
|
||||
_ = i.requester.ExpireDocument(ctx, url)
|
||||
}
|
||||
|
||||
// extract each torrent link
|
||||
|
||||
@@ -83,7 +83,7 @@ func (i *Indexer) HandlerComandoHDsIndexer(w http.ResponseWriter, r *http.Reques
|
||||
|
||||
// if no links were indexed, expire the document in cache
|
||||
if len(links) == 0 {
|
||||
i.requester.ExpireDocument(ctx, url)
|
||||
_ = i.requester.ExpireDocument(ctx, url)
|
||||
}
|
||||
|
||||
// extract each torrent link
|
||||
|
||||
@@ -81,7 +81,7 @@ func (i *Indexer) HandlerRedeTorrentIndexer(w http.ResponseWriter, r *http.Reque
|
||||
|
||||
// if no links were indexed, expire the document in cache
|
||||
if len(links) == 0 {
|
||||
i.requester.ExpireDocument(ctx, url)
|
||||
_ = i.requester.ExpireDocument(ctx, url)
|
||||
}
|
||||
|
||||
// extract each torrent link
|
||||
|
||||
@@ -80,7 +80,7 @@ func (i *Indexer) HandlerStarckFilmesIndexer(w http.ResponseWriter, r *http.Requ
|
||||
|
||||
// if no links were indexed, expire the document in cache
|
||||
if len(links) == 0 {
|
||||
i.requester.ExpireDocument(ctx, url)
|
||||
_ = i.requester.ExpireDocument(ctx, url)
|
||||
}
|
||||
|
||||
// extract each torrent link
|
||||
|
||||
@@ -80,7 +80,7 @@ func (i *Indexer) HandlerTorrentDosFilmesIndexer(w http.ResponseWriter, r *http.
|
||||
|
||||
// if no links were indexed, expire the document in cache
|
||||
if len(links) == 0 {
|
||||
i.requester.ExpireDocument(ctx, url)
|
||||
_ = i.requester.ExpireDocument(ctx, url)
|
||||
}
|
||||
|
||||
// extract each torrent link
|
||||
|
||||
Reference in New Issue
Block a user