Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build failed by deleting release by API #562

Merged
merged 1 commit into from
Jan 3, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
build failed by deleting release by API
  • Loading branch information
lunny committed Jan 3, 2017
commit eb2e37b82a844016258753401a33cdd2d3a249da
2 changes: 1 addition & 1 deletion routers/api/v1/repo/release.go
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ func DeleteRelease(ctx *context.APIContext) {
ctx.Status(404)
return
}
if err := models.DeleteReleaseByID(id, ctx.User); err != nil {
if err := models.DeleteReleaseByID(id, ctx.User, false); err != nil {
ctx.Error(500, "DeleteReleaseByID", err)
return
}
Expand Down