remove false alarm error
This commit is contained in:
parent
104a86936a
commit
0e64a4d7e7
2
api.go
2
api.go
|
@ -349,7 +349,7 @@ func postCommit(srv *Server, version float64, w http.ResponseWriter, r *http.Req
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
config := &Config{}
|
config := &Config{}
|
||||||
if err := json.NewDecoder(r.Body).Decode(config); err != nil {
|
if err := json.NewDecoder(r.Body).Decode(config); err != nil && err.Error() != "EOF" {
|
||||||
utils.Errorf("%s", err)
|
utils.Errorf("%s", err)
|
||||||
}
|
}
|
||||||
repo := r.Form.Get("repo")
|
repo := r.Form.Get("repo")
|
||||||
|
|
Loading…
Reference in New Issue