Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[cassandra] Blacklisting/Whitelisting Tags for Indexing #1904

Merged
merged 23 commits into from
Nov 9, 2019
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
processTags => tags
Signed-off-by: Joe Elliott <number101010@gmail.com>
  • Loading branch information
joe-elliott committed Nov 8, 2019
commit 63834ab20d32d457a9206399ca1a263d611c17c5
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,9 @@ func (tf ExactMatchTagFilter) FilterLogFields(span *model.Span, logFields model.
return tf.filter(logFields)
}

func (tf ExactMatchTagFilter) filter(processTags model.KeyValues) model.KeyValues {
func (tf ExactMatchTagFilter) filter(tags model.KeyValues) model.KeyValues {
var kvs model.KeyValues
for _, t := range processTags {
for _, t := range tags {
if _, ok := tf.tags[t.Key]; ok == !tf.dropMatches {
kvs = append(kvs, t)
}
Expand Down