Make all error strings lower case, for readability.

This commit is contained in:
Brendan Burns
2014-06-13 15:45:19 -07:00
parent 505f01a7ca
commit 482a360f9e
12 changed files with 19 additions and 19 deletions

View File

@@ -115,7 +115,7 @@ func (s *FirstFitScheduler) Schedule(pod api.Pod) (string, error) {
}
}
if len(machineOptions) == 0 {
return "", fmt.Errorf("Failed to find fit for %#v", pod)
return "", fmt.Errorf("failed to find fit for %#v", pod)
} else {
return machineOptions[s.random.Int()%len(machineOptions)], nil
}