mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-24 12:15:52 +00:00
Merge pull request #82007 from Zhuzhenghao/regex
Change the seven blanks to ` {7}` in the regex
This commit is contained in:
commit
7600f91b30
@ -25,7 +25,7 @@ import (
|
||||
|
||||
var (
|
||||
// Regexp, matching the contents of log entries, parsed or not
|
||||
logEntryMessageRegex = regexp.MustCompile("(?:I\\d+ \\d+:\\d+:\\d+.\\d+ \\d+ logs_generator.go:67] )?(\\d+) .*")
|
||||
logEntryMessageRegex = regexp.MustCompile("(?:I\\d+ \\d+:\\d+:\\d+.\\d+ {7}\\d+ logs_generator.go:67] )?(\\d+) .*")
|
||||
)
|
||||
|
||||
// LogEntry represents a log entry, received from the logging backend.
|
||||
|
Loading…
Reference in New Issue
Block a user