1
0
mirror of https://github.com/woodpecker-ci/woodpecker.git synced 2025-01-29 18:04:15 +02:00

Add missing return (#2316)

This commit is contained in:
Pablo Ovelleiro Corral 2023-08-22 09:47:29 +02:00 committed by GitHub
parent 4de8cbec76
commit cf9a4be128
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)