summaryrefslogtreecommitdiffstats
path: root/models/issue.go
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2016-08-12 02:29:29 -0700
committerUnknwon <u@gogs.io>2016-08-14 23:52:24 -0700
commit15845cb28763c1542556ad61d2aa9735541dbf45 (patch)
tree94b2053202fcf5270e0697fc37c38203310571ed /models/issue.go
parentd0a0239bacf02eb004634dfe1bb0a3f7dfe5adb6 (diff)
downloadgitea-15845cb28763c1542556ad61d2aa9735541dbf45.tar.gz
gitea-15845cb28763c1542556ad61d2aa9735541dbf45.zip
Code clean up for new config options
Diffstat (limited to 'models/issue.go')
-rw-r--r--models/issue.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/models/issue.go b/models/issue.go
index e0b72952eb..eb126325f0 100644
--- a/models/issue.go
+++ b/models/issue.go
@@ -645,12 +645,12 @@ func newIssue(e *xorm.Session, repo *Repository, issue *Issue, labelIDs []int64,
if IsErrAttachmentNotExist(err) {
continue
}
- return fmt.Errorf("getAttachmentByUUID[%s]: %v", uuid, err)
+ return fmt.Errorf("getAttachmentByUUID [%s]: %v", uuid, err)
}
attachment.IssueID = issue.ID
// No assign value could be 0, so ignore AllCols().
if _, err = e.Id(attachment.ID).Update(attachment); err != nil {
- return fmt.Errorf("update attachment[%d]: %v", attachment.ID, err)
+ return fmt.Errorf("update attachment [%d]: %v", attachment.ID, err)
}
}