We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b36bf8e + 429f61a commit 5803819Copy full SHA for 5803819
daemon/client/checks/openshift.go
@@ -330,8 +330,8 @@ func CheckLoggingRestartsCount() error {
330
for _, l := range strings.Split(string(out), "\n") {
331
if !strings.HasPrefix(l, "RESTARTS") && len(strings.TrimSpace(l)) > 0 {
332
cnt, _ := strconv.Atoi(l)
333
- if cnt > 2 {
334
- msg = "A logging-container has restart count bigger than 2 - " + strconv.Itoa(cnt)
+ if cnt > 7 {
+ msg = "A logging-container has restart count bigger than 7 - " + strconv.Itoa(cnt)
335
isOk = false
336
}
337
0 commit comments