Skip to content

Commit

Permalink
update error texts
Browse files Browse the repository at this point in the history
  • Loading branch information
ahayworth committed May 17, 2022
1 parent 7192d77 commit 405e742
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/coreinternal/processor/filterlog/filterlog_test.go
Expand Up @@ -41,7 +41,7 @@ func TestLogRecord_validateMatchesConfiguration_InvalidConfig(t *testing.T) {
{
name: "empty_property",
property: filterconfig.MatchProperties{},
errorString: `at least one of "attributes", "libraries", "resources", "log_bodies" or "log_severity_texts" field must be specified`,
errorString: `at least one of "log_names", "log_bodies", "log_severity_texts", "attributes", "libraries", "span_kinds", or "resources" field must be specified`,
},
{
name: "empty_log_bodies_and_attributes",
Expand All @@ -56,7 +56,7 @@ func TestLogRecord_validateMatchesConfiguration_InvalidConfig(t *testing.T) {
property: filterconfig.MatchProperties{
SpanNames: []string{"span"},
},
errorString: "neither services nor span_names should be specified for log records",
errorString: "services, span_names, and span_kinds are not valid for log records",
},
{
name: "invalid_match_type",
Expand Down

0 comments on commit 405e742

Please sign in to comment.