mirror of
https://github.com/clearlinux/docker.git
synced 2026-08-23 07:15:54 +00:00
remove false alarm error
This commit is contained in:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user