Skip to content

Commit

Permalink
Use whitelist flag to delete
Browse files Browse the repository at this point in the history
  • Loading branch information
dhaavi committed Sep 25, 2020
1 parent 1bf7946 commit 3474b04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion intel/filterlists/database.go
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ func processEntry(ctx context.Context, filter *scopedBloom, entry *listEntry, re
}

// If the entry is a "delete" update, actually delete it to save space.
if len(entry.Sources) == 0 {
if entry.Whitelist {
r.CreateMeta()
r.Meta().Delete()
}
Expand Down

0 comments on commit 3474b04

Please sign in to comment.