fix commit without run parameter
This commit is contained in:
parent
954ecac388
commit
bf605fcfc7
1 changed files with 1 additions and 1 deletions
2
api.go
2
api.go
|
@ -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")
|
||||
|
|
Loading…
Add table
Reference in a new issue