diff options
author | Lunny Xiao <xiaolunwen@gmail.com> | 2021-09-23 18:50:06 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-23 18:50:06 +0800 |
commit | d9c69596fff1a1482cbc15ac220f9d5e1829a5ea (patch) | |
tree | 1e39fa59ad38cdd9a0a9c3a1f3e4bc331bed405e /models/pull.go | |
parent | d9e237e3f268d786af028ba8e7cc24f70a6d6a36 (diff) | |
download | gitea-d9c69596fff1a1482cbc15ac220f9d5e1829a5ea.tar.gz gitea-d9c69596fff1a1482cbc15ac220f9d5e1829a5ea.zip |
Fix commit status index problem (#17061)
* Fix commit status index problem
* remove unused functions
* Add fixture and test for migration
* Fix lint
* Fix fixture
* Fix lint
* Fix test
* Fix bug
* Fix bug
Diffstat (limited to 'models/pull.go')
-rw-r--r-- | models/pull.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/models/pull.go b/models/pull.go index 9251673576..5cb7b57286 100644 --- a/models/pull.go +++ b/models/pull.go @@ -450,7 +450,7 @@ func (pr *PullRequest) SetMerged() (bool, error) { func NewPullRequest(repo *Repository, issue *Issue, labelIDs []int64, uuids []string, pr *PullRequest) (err error) { idx, err := db.GetNextResourceIndex("issue_index", repo.ID) if err != nil { - return fmt.Errorf("generate issue index failed: %v", err) + return fmt.Errorf("generate pull request index failed: %v", err) } issue.Index = idx |