mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-12-25 09:50:31 +00:00
Merge pull request #1802 from artofhuman/master
Fix docs typos [CI SKIP]
This commit is contained in:
commit
5130919869
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue