Fix some typos in comments and strings
Most of them were found and fixed by codespell. Signed-off-by: Stefan Weil <sw@weilnetz.de>
This commit is contained in:
parent
049dda3ee7
commit
8cb9b57bc2
4 changed files with 6 additions and 6 deletions
|
@ -96,7 +96,7 @@ type errorReaderCloser struct{}
|
|||
func (errorReaderCloser) Close() error { return nil }
|
||||
|
||||
func (errorReaderCloser) Read(p []byte) (n int, err error) {
|
||||
return 0, fmt.Errorf("A error occured")
|
||||
return 0, fmt.Errorf("An error occurred")
|
||||
}
|
||||
|
||||
// If a an unknown error is encountered, return 0, nil and log it
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue