Commit 40480d85 authored by Dawn Chen's avatar Dawn Chen

Merge pull request #8532 from derekwaynecarr/improve_event_readability

Improve event readability for generic scheduler
parents b3746465 8ee06a99
......@@ -40,7 +40,7 @@ var ErrNoNodesAvailable = fmt.Errorf("no nodes available to schedule pods")
// implementation of the error interface
func (f *FitError) Error() string {
output := fmt.Sprintf("failed to find fit for pod: %v", f.Pod)
output := fmt.Sprintf("failed to find fit for pod, ")
for node, predicateList := range f.FailedPredicates {
output = output + fmt.Sprintf("Node %s: %s", node, strings.Join(predicateList.List(), ","))
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment