Minimal go lang version target is 1.13

This commit is contained in:
Derrick Wippler 2021-05-03 11:32:41 -05:00
parent 1e232d778c
commit e5d79909ab
2 changed files with 1 additions and 4 deletions

View File

@ -9,9 +9,6 @@ script:
- go test ./...
go:
- 1.10.x
- 1.11.x
- 1.12.x
- 1.13.x
- 1.14.x
- 1.15.x

View File

@ -207,7 +207,7 @@ func (p *HTTPPool) ServeHTTP(w http.ResponseWriter, r *http.Request) {
var out pb.SetRequest
err = proto.Unmarshal(b.Bytes(), &out)
if err != nil {
http.Error(w, err.Error(), http.StatusInternalServerError)
http.Error(w, err.Error(), http.StatusBadRequest)
return
}