Fix lint warning by renaming MaxBytesExceededErr -> ErrMaxBytesExceeded (#1676)

Signed-off-by: Jonas Östanbäck <jonas.ostanback@gmail.com>
This commit is contained in:
Jonas Östanbäck
2017-05-17 17:57:11 +02:00
committed by Matt Holt
parent a3b2a6a296
commit 05ea5c32be
5 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -228,7 +228,7 @@ func (p Proxy) ServeHTTP(w http.ResponseWriter, r *http.Request) (int, error) {
return 0, nil
}
if backendErr == httpserver.MaxBytesExceededErr {
if backendErr == httpserver.ErrMaxBytesExceeded {
return http.StatusRequestEntityTooLarge, backendErr
}