diff options
author | Unknwon <u@gogs.io> | 2015-10-26 09:16:24 -0400 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2015-10-26 09:16:24 -0400 |
commit | b9f5def5dc177e683c6c2946498bd2eabb82d16a (patch) | |
tree | 932aa33b4d7d433ed9a76580b6c824bc67e5da25 /models/pull.go | |
parent | 87c3c8172a8596d903e9c6ab6c9619e84dcf6413 (diff) | |
download | gitea-b9f5def5dc177e683c6c2946498bd2eabb82d16a.tar.gz gitea-b9f5def5dc177e683c6c2946498bd2eabb82d16a.zip |
fix insecure tls when trigger task
Diffstat (limited to 'models/pull.go')
-rw-r--r-- | models/pull.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/models/pull.go b/models/pull.go index fc8a70345e..55f17fc27c 100644 --- a/models/pull.go +++ b/models/pull.go @@ -76,7 +76,7 @@ func (pr *PullRequest) AfterSet(colName string, _ xorm.Cell) { func (pr *PullRequest) getHeadRepo(e Engine) (err error) { pr.HeadRepo, err = getRepositoryByID(e, pr.HeadRepoID) if err != nil && !IsErrRepoNotExist(err) { - return fmt.Errorf("GetRepositoryByID (head): %v", err) + return fmt.Errorf("getRepositoryByID(head): %v", err) } return nil } @@ -92,7 +92,7 @@ func (pr *PullRequest) GetBaseRepo() (err error) { pr.BaseRepo, err = GetRepositoryByID(pr.BaseRepoID) if err != nil { - return fmt.Errorf("GetRepositoryByID (base): %v", err) + return fmt.Errorf("GetRepositoryByID(base): %v", err) } return nil } |