mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 19:56:01 +00:00
Merge pull request #125498 from ahmetb/kubelet-predicate-description
kubelet: Surface description for predicate failed Events
This commit is contained in:
commit
0c8dc93049
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user