Skip to content

Commit

Permalink
Fix issue introduced by interaction between two recent PRs (#467)
Browse files Browse the repository at this point in the history
The default value of parse_to was changed at the same time that
some new tests were added to the regex parser. The new tests did
not account for this, but no merge conflict existed.
  • Loading branch information
djaglowski authored Apr 8, 2022
1 parent 2ef44fa commit fccb9c1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions operator/parser/regex/regex_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ func TestParserRegex(t *testing.T) {
Body: "a=b",
},
&entry.Entry{
Body: "a=b",
Attributes: map[string]interface{}{
"a": "b",
},
Expand All @@ -127,6 +128,7 @@ func TestParserRegex(t *testing.T) {
Body: "coredns-5644d7b6d9-mzngq_kube-system_coredns-901f7510281180a402936c92f5bc0f3557f5a21ccb5a4591c5bf98f3ddbffdd6.log",
},
&entry.Entry{
Body: "coredns-5644d7b6d9-mzngq_kube-system_coredns-901f7510281180a402936c92f5bc0f3557f5a21ccb5a4591c5bf98f3ddbffdd6.log",
Attributes: map[string]interface{}{
"container_id": "901f7510281180a402936c92f5bc0f3557f5a21ccb5a4591c5bf98f3ddbffdd6",
"container_name": "coredns",
Expand Down

0 comments on commit fccb9c1

Please sign in to comment.