Skip to content

Commit

Permalink
skip mandatory fields
Browse files Browse the repository at this point in the history
  • Loading branch information
khushijain21 committed Nov 4, 2024
1 parent 4640ae3 commit 7b3bcd4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libbeat/processors/actions/lowercase_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ import (
func TestNewLowerCaseProcessor(t *testing.T) {
c := conf.MustNewConfigFrom(
mapstr.M{
"fields": []string{"field1", "type", "field2", "TypeInput"}, // "type" is our mandatory field
"fields": []string{"field1", "type", "field2", "type.value.key"}, // "type" is our mandatory field
"ignore_missing": true,
"fail_on_error": false,
},
Expand Down

0 comments on commit 7b3bcd4

Please sign in to comment.