summaryrefslogtreecommitdiffstats
path: root/modules/context/repo.go
diff options
context:
space:
mode:
authorEthan Koenig <ethantkoenig@gmail.com>2017-09-20 09:30:20 -0700
committerLauris BH <lauris@nix.lv>2017-09-20 19:30:20 +0300
commitf014e42a06b581c4d5cccf7b2138b0190ad9187e (patch)
tree079608072cd483bff53d51877bdcab90566e535f /modules/context/repo.go
parentd14a724b539571a34821b709b149c376b80d8125 (diff)
downloadgitea-f014e42a06b581c4d5cccf7b2138b0190ad9187e.tar.gz
gitea-f014e42a06b581c4d5cccf7b2138b0190ad9187e.zip
Backport: Fix lint, fmt and integration testing errors (#2553)
* Fix lint errors * Fix fmt errors (#2544) * Hotfix for integration testing (#2473) * Hotfix for integration testing
Diffstat (limited to 'modules/context/repo.go')
-rw-r--r--modules/context/repo.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/context/repo.go b/modules/context/repo.go
index 72e922aaf0..ef70628bee 100644
--- a/modules/context/repo.go
+++ b/modules/context/repo.go
@@ -166,7 +166,7 @@ func RedirectToRepo(ctx *Context, redirectRepoID int64) {
func RepoIDAssignment() macaron.Handler {
return func(ctx *Context) {
var (
- err error
+ err error
)
repoID := ctx.ParamsInt64(":repoid")