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
@@ -302,7 +302,7 @@ func (r *replacer) getSubstitution(key string) string {
}
_, err := ioutil.ReadAll(r.request.Body)
if err != nil {
if err == MaxBytesExceededErr {
if err == ErrMaxBytesExceeded {
return r.emptyValue
}
}