Skip to content

Commit

Permalink
Add missing return (#2316)
Browse files Browse the repository at this point in the history
  • Loading branch information
pinpox authored Aug 22, 2023
1 parent 4de8cbe commit cf9a4be
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions server/api/pipeline.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit cf9a4be

Please sign in to comment.