remove false alarm error
This commit is contained in:
parent
104a86936a
commit
0e64a4d7e7
1 changed files with 1 additions and 1 deletions
2
api.go
2
api.go
|
@ -349,7 +349,7 @@ func postCommit(srv *Server, version float64, w http.ResponseWriter, r *http.Req
|
|||
return err
|
||||
}
|
||||
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)
|
||||
}
|
||||
repo := r.Form.Get("repo")
|
||||
|
|
Loading…
Add table
Reference in a new issue