Merge pull request #125498 from ahmetb/kubelet-predicate-description

kubelet: Surface description for predicate failed Events
This commit is contained in:
Kubernetes Prow Robot
2024-07-01 17:07:32 -07:00
committed by GitHub

View File

@@ -269,7 +269,7 @@ type PredicateFailureError struct {
}
func (e *PredicateFailureError) Error() string {
return fmt.Sprintf("Predicate %s failed", e.PredicateName)
return fmt.Sprintf("Predicate %s failed: %s", e.PredicateName, e.PredicateDesc)
}
// GetReason returns the reason of the PredicateFailureError.