Skip to content

Commit 7600f91

Browse files
authored
Merge pull request kubernetes#82007 from Zhuzhenghao/regex
Change the seven blanks to ` {7}` in the regex
2 parents a7e9704 + e1df7c2 commit 7600f91

File tree

1 file changed

+1
-1
lines changed
  • test/e2e/instrumentation/logging/utils

1 file changed

+1
-1
lines changed

test/e2e/instrumentation/logging/utils/types.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ import (
2525

2626
var (
2727
// Regexp, matching the contents of log entries, parsed or not
28-
logEntryMessageRegex = regexp.MustCompile("(?:I\\d+ \\d+:\\d+:\\d+.\\d+ \\d+ logs_generator.go:67] )?(\\d+) .*")
28+
logEntryMessageRegex = regexp.MustCompile("(?:I\\d+ \\d+:\\d+:\\d+.\\d+ {7}\\d+ logs_generator.go:67] )?(\\d+) .*")
2929
)
3030

3131
// LogEntry represents a log entry, received from the logging backend.

0 commit comments

Comments
 (0)