Merge pull request #125498 from ahmetb/kubelet-predicate-description
kubelet: Surface description for predicate failed Events
This commit is contained in:
		@@ -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.
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user