chore: fix lint

This commit is contained in:
pommee
2025-06-07 15:01:21 +02:00
parent 1795d4eb6f
commit ed44924942
+3 -1
View File
@@ -490,7 +490,9 @@ func (b *Blacklist) GetSourceStatistics() (map[string]SourceStats, error) {
if err != nil {
return nil, fmt.Errorf("failed to query source statistics: %w", err)
}
defer rows.Close()
defer func(rows *sql.Rows) {
_ = rows.Close()
}(rows)
stats := make(map[string]SourceStats, 5)