fix commit without run parameter

This commit is contained in:
Victor Vieux 2013-05-08 19:21:52 +02:00
parent 954ecac388
commit bf605fcfc7
1 changed files with 1 additions and 1 deletions

2
api.go
View File

@ -232,7 +232,7 @@ func postCommit(srv *Server, w http.ResponseWriter, r *http.Request) ([]byte, er
}
var config Config
if err := json.NewDecoder(r.Body).Decode(&config); err != nil {
return nil, err
Debugf("%s", err.Error())
}
repo := r.Form.Get("repo")
tag := r.Form.Get("tag")