mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-12-29 20:00:30 +00:00
Add missing return (#2316)
This commit is contained in:
parent
4de8cbec76
commit
cf9a4be128
1 changed files with 1 additions and 0 deletions
|
@ -456,6 +456,7 @@ func PostPipeline(c *gin.Context) {
|
|||
netrc, err := server.Config.Services.Forge.Netrc(user, repo)
|
||||
if err != nil {
|
||||
handlePipelineErr(c, err)
|
||||
return
|
||||
}
|
||||
|
||||
newpipeline, err := pipeline.Restart(c, _store, pl, user, repo, envs, netrc)
|
||||
|
|
Loading…
Reference in a new issue