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

@@ -122,7 +122,7 @@ func (storage *PodRegistryStorage) Extract(body string) (interface{}, error) {
func (storage *PodRegistryStorage) Create(pod interface{}) error {
podObj := pod.(api.Pod)
if len(podObj.ID) == 0 {
return fmt.Errorf("ID is unspecified: %#v", pod)
return fmt.Errorf("id is unspecified: %#v", pod)
}
machine, err := storage.scheduler.Schedule(podObj)
if err != nil {