From ccb6eddd4cc7f38a646bd442f66ef7045528f294 Mon Sep 17 00:00:00 2001 From: Felipe Marinho Date: Wed, 30 Jul 2025 14:21:02 +0000 Subject: [PATCH] chg: fix: lint issue --- api/bludv.go | 2 +- api/comando_torrents.go | 2 +- api/comandohds.go | 2 +- api/rede_torrent.go | 2 +- api/starck_filmes.go | 2 +- api/torrent_dos_filmes.go | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/api/bludv.go b/api/bludv.go index fbb8c75..37a9633 100644 --- a/api/bludv.go +++ b/api/bludv.go @@ -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 diff --git a/api/comando_torrents.go b/api/comando_torrents.go index 154b8ad..822504b 100644 --- a/api/comando_torrents.go +++ b/api/comando_torrents.go @@ -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 diff --git a/api/comandohds.go b/api/comandohds.go index 30b3e2d..9943ef0 100644 --- a/api/comandohds.go +++ b/api/comandohds.go @@ -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 diff --git a/api/rede_torrent.go b/api/rede_torrent.go index 0d00af8..73a026c 100644 --- a/api/rede_torrent.go +++ b/api/rede_torrent.go @@ -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 diff --git a/api/starck_filmes.go b/api/starck_filmes.go index b699189..dc23a5c 100644 --- a/api/starck_filmes.go +++ b/api/starck_filmes.go @@ -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 diff --git a/api/torrent_dos_filmes.go b/api/torrent_dos_filmes.go index 40c37c9..7b76bce 100644 --- a/api/torrent_dos_filmes.go +++ b/api/torrent_dos_filmes.go @@ -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