aboutsummaryrefslogtreecommitdiffstats
path: root/modules/setting/indexer.go
diff options
context:
space:
mode:
authorGiteabot <teabot@gitea.io>2024-12-30 15:39:59 +0800
committerGitHub <noreply@github.com>2024-12-30 07:39:59 +0000
commit27de60381d5e75507e956da276331e4be577ac81 (patch)
tree67d5034693ea0f12a446e0953839346f1d210d9d /modules/setting/indexer.go
parentd2d763318c8fe3c8d7c1d42b8038d0968026cbe7 (diff)
downloadgitea-27de60381d5e75507e956da276331e4be577ac81.tar.gz
gitea-27de60381d5e75507e956da276331e4be577ac81.zip
Fix settings not being loaded at CLI (#26402) (#33048)
Backport #26402 by cassiozareck Closes #25898 Signed-off-by: cassiozareck <cassiomilczareck@gmail.com> Co-authored-by: cassio zareck <121526696+cassiozareck@users.noreply.github.com> Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com> Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Diffstat (limited to 'modules/setting/indexer.go')
-rw-r--r--modules/setting/indexer.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/setting/indexer.go b/modules/setting/indexer.go
index 18585602c3..34b4eac15b 100644
--- a/modules/setting/indexer.go
+++ b/modules/setting/indexer.go
@@ -97,7 +97,7 @@ func IndexerGlobFromString(globstr string) []*GlobMatcher {
expr = strings.TrimSpace(expr)
if expr != "" {
if g, err := GlobMatcherCompile(expr, '.', '/'); err != nil {
- log.Info("Invalid glob expression '%s' (skipped): %v", expr, err)
+ log.Warn("Invalid glob expression '%s' (skipped): %v", expr, err)
} else {
extarr = append(extarr, g)
}