This commit is contained in:
Gusted 2022-07-25 07:14:08 +02:00
parent 1e183d7249
commit b67ead8f70
No known key found for this signature in database
GPG key ID: FD821B732837125F

View file

@ -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