Skip to content

Commit dabc07e

Browse files
committed
upgrade warnings to failures
1 parent ef644e3 commit dabc07e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/analyze/velero.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -684,7 +684,7 @@ func analyzeLogs(logs map[string][]byte, kind string) []*AnalyzeResult {
684684
}
685685

686686
if strings.Contains(logContent, "error") || strings.Contains(logContent, "panic") || strings.Contains(logContent, "fatal") {
687-
result.IsWarn = true
687+
result.IsFail = true
688688
result.Message = fmt.Sprintf("Found error|panic|fatal in %s pod log file(s)", kind)
689689
results = append(results, result)
690690
}

0 commit comments

Comments
 (0)