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