diff options
Diffstat (limited to 'services/release/release.go')
-rw-r--r-- | services/release/release.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/services/release/release.go b/services/release/release.go index 9e3ea3370a..0df8635230 100644 --- a/services/release/release.go +++ b/services/release/release.go @@ -186,7 +186,8 @@ func CreateNewTag(ctx context.Context, doer *user_model.User, repo *repo_model.R // delAttachmentUUIDs accept a slice of attachments' uuids which will be deleted from the release // editAttachments accept a map of attachment uuid to new attachment name which will be updated with attachments. func UpdateRelease(doer *user_model.User, gitRepo *git.Repository, rel *models.Release, - addAttachmentUUIDs, delAttachmentUUIDs []string, editAttachments map[string]string) (err error) { + addAttachmentUUIDs, delAttachmentUUIDs []string, editAttachments map[string]string, +) (err error) { if rel.ID == 0 { return errors.New("UpdateRelease only accepts an exist release") } |