Skip to content

Commit

Permalink
fix: do not break KeyRemover loop early
Browse files Browse the repository at this point in the history
  • Loading branch information
Kav91 committed Jan 10, 2020
1 parent 80add26 commit a340163
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion internal/processor/keys.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ func RunKeyRemover(currentSample *map[string]interface{}, removeKeys []string) {
for key := range *currentSample {
if formatter.KvFinder("regex", key, removeKey) {
delete(*currentSample, key)
break
}
}
}
Expand Down

0 comments on commit a340163

Please sign in to comment.