diff options
author | Andrey Nering <andrey.nering@gmail.com> | 2017-02-22 21:14:54 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-02-22 21:14:54 -0300 |
commit | d181113b82a29c035e92dc00c8385dbe41e5688b (patch) | |
tree | 547a20ce403e4a7f17578efa5c344840c85f0a40 /models/repo.go | |
parent | 1f7837d6d62471d72e2b2c15f8ed07cd0a43fda9 (diff) | |
parent | ec3a696e2de605f794b36da58db30c849ac56904 (diff) | |
download | gitea-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.go | 2 |
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 { |