Fix docs typos

This commit is contained in:
Semyon Pupkov 2016-10-06 10:52:38 +05:00
parent 524fba6253
commit 5f457dd57f

View file

@ -21,7 +21,7 @@ type ExitError struct {
Code int Code int
} }
// Error reteurns the error message in string format. // Error returns the error message in string format.
func (e *ExitError) Error() string { func (e *ExitError) Error() string {
return fmt.Sprintf("%s : exit code %d", e.Name, e.Code) return fmt.Sprintf("%s : exit code %d", e.Name, e.Code)
} }
@ -31,7 +31,7 @@ type OomError struct {
Name string Name string
} }
// Error reteurns the error message in string format. // Error returns the error message in string format.
func (e *OomError) Error() string { func (e *OomError) Error() string {
return fmt.Sprintf("%s : received oom kill", e.Name) return fmt.Sprintf("%s : received oom kill", e.Name)
} }