mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-27 05:27:21 +00:00
Change the seven blanks to {7}
in the regex, so it will be more readable .
This commit is contained in:
parent
28e800245e
commit
e1df7c2b64
@ -25,7 +25,7 @@ import (
|
|||||||
|
|
||||||
var (
|
var (
|
||||||
// Regexp, matching the contents of log entries, parsed or not
|
// 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.
|
// LogEntry represents a log entry, received from the logging backend.
|
||||||
|
Loading…
Reference in New Issue
Block a user