From 5f457dd57f626223dfedf8ae43e8ebc1080f5dfc Mon Sep 17 00:00:00 2001 From: Semyon Pupkov Date: Thu, 6 Oct 2016 10:52:38 +0500 Subject: [PATCH] Fix docs typos --- build/error.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build/error.go b/build/error.go index a92573eca..9190de8a8 100644 --- a/build/error.go +++ b/build/error.go @@ -21,7 +21,7 @@ type ExitError struct { Code int } -// Error reteurns the error message in string format. +// Error returns the error message in string format. func (e *ExitError) Error() string { return fmt.Sprintf("%s : exit code %d", e.Name, e.Code) } @@ -31,7 +31,7 @@ type OomError struct { Name string } -// Error reteurns the error message in string format. +// Error returns the error message in string format. func (e *OomError) Error() string { return fmt.Sprintf("%s : received oom kill", e.Name) }