From b67ead8f70756c4157f6e17429f17e7ab82f013c Mon Sep 17 00:00:00 2001 From: Gusted Date: Mon, 25 Jul 2022 07:14:08 +0200 Subject: [PATCH] Lint --- server/handler.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/handler.go b/server/handler.go index d69a7e8..39a782b 100644 --- a/server/handler.go +++ b/server/handler.go @@ -83,7 +83,7 @@ func Handler(mainDomainSuffix, rawDomain []byte, // tryBranch checks if a branch exists and populates the target variables. If canonicalLink is non-empty, it will // also disallow search indexing and add a Link header to the canonical URL. - tryBranch := func(logInfo string, repo, branch string, path []string, canonicalLink string) bool { + tryBranch := func(logInfo, repo, branch string, path []string, canonicalLink string) bool { if repo == "" { log.Debug("tryBranch%s: repo is empty", logInfo) return false