You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: pkg/library/status/check.go
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -33,19 +33,19 @@ import (
33
33
34
34
var (
35
35
// reTerminatedSigterm matches: "[postStart hook] Commands terminated by SIGTERM (likely timed out after ...s). Exit code 143."
36
-
reTerminatedSigterm=regexp.MustCompile(`(\\[postStart hook\\] Commands terminated by SIGTERM \\(likely timed out after [^)]+?\\)\\. Exit code 143\\.)`)
36
+
reTerminatedSigterm=regexp.MustCompile(`\[postStart hook\] Commands terminated by SIGTERM \(likely timed out after \d+[^\)]+?\)\. Exit code 143\.`)
37
37
38
38
// reKilledSigkill matches: "[postStart hook] Commands forcefully killed by SIGKILL (likely after --kill-after ...s expired). Exit code 137."
39
-
reKilledSigkill=regexp.MustCompile(`(\\[postStart hook\\] Commands forcefully killed by SIGKILL \\(likely after --kill-after [^)]+?\\)\\. Exit code 137\\.)`)
39
+
reKilledSigkill=regexp.MustCompile(`\[postStart hook\] Commands forcefully killed by SIGKILL \(likely after --kill-after \d+[^\)]+?\)\. Exit code 137\.`)
40
40
41
41
// reGenericFailedExitCode matches: "[postStart hook] Commands failed with exit code ..." (for any other script-reported non-zero exit code)
42
-
reGenericFailedExitCode=regexp.MustCompile(`(\\[postStart hook\\] Commands failed with exit code \\d+\\.)`)
42
+
reGenericFailedExitCode=regexp.MustCompile(`\[postStart hook\] Commands failed with exit code \d+\.`)
43
43
44
44
// reKubeletInternalMessage regex to capture Kubelet's explicit message field content if it exists
0 commit comments