aboutsummaryrefslogtreecommitdiffstats
path: root/models/repo.go
diff options
context:
space:
mode:
authorAndrey Nering <andrey.nering@gmail.com>2017-02-22 21:14:54 -0300
committerGitHub <noreply@github.com>2017-02-22 21:14:54 -0300
commitd181113b82a29c035e92dc00c8385dbe41e5688b (patch)
tree547a20ce403e4a7f17578efa5c344840c85f0a40 /models/repo.go
parent1f7837d6d62471d72e2b2c15f8ed07cd0a43fda9 (diff)
parentec3a696e2de605f794b36da58db30c849ac56904 (diff)
downloadgitea-d181113b82a29c035e92dc00c8385dbe41e5688b.tar.gz
gitea-d181113b82a29c035e92dc00c8385dbe41e5688b.zip
Merge pull request #1017 from ethantkoenig/fix_lint
Fix lint errors
Diffstat (limited to 'models/repo.go')
-rw-r--r--models/repo.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/models/repo.go b/models/repo.go
index 218f15afe5..af8f688339 100644
--- a/models/repo.go
+++ b/models/repo.go
@@ -1800,7 +1800,7 @@ type SearchRepoOptions struct {
func SearchRepositoryByName(opts *SearchRepoOptions) (repos RepositoryList, _ int64, _ error) {
var (
sess *xorm.Session
- cond builder.Cond = builder.NewCond()
+ cond = builder.NewCond()
)
if len(opts.Keyword) == 0 {