- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for IsWorseThanOrEqualTo (0.15 sec)
-
istioctl/pkg/precheck/precheck.go
} // Print all the messages to stdout in the specified format msgs = msgs.SortedDedupedCopy() outputMsgs := diag.Messages{} for _, m := range msgs { if m.Type.Level().IsWorseThanOrEqualTo(outputThreshold.Level) { outputMsgs = append(outputMsgs, m) } } output, err := formatting.Print(outputMsgs, msgOutputFormat, true) if err != nil { return err }
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Oct 24 02:31:32 UTC 2024 - 15.3K bytes - Viewed (0) -
istioctl/pkg/analyze/analyze.go
return nil }) return readers, err } func errorIfMessagesExceedThreshold(messages []diag.Message) error { foundIssues := false for _, m := range messages { if m.Type.Level().IsWorseThanOrEqualTo(failureThreshold.Level) { foundIssues = true } } if foundIssues { return AnalyzerFoundIssuesError{} } return nil } func isValidFile(f string) bool {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Oct 31 06:53:50 UTC 2024 - 17.6K bytes - Viewed (0)