Simplify ErrBadRequest.Error

Signed-off-by: Miloslav Trmač <mitr@redhat.com>
This commit is contained in:
Miloslav Trmač 2022-09-10 23:58:37 +02:00
parent be449e9467
commit 3c5b510c94
1 changed files with 1 additions and 2 deletions

View File

@ -1,7 +1,6 @@
package chunked
import (
"fmt"
"io"
)
@ -22,5 +21,5 @@ type ErrBadRequest struct {
}
func (e ErrBadRequest) Error() string {
return fmt.Sprintf("bad request")
return "bad request"
}