summaryrefslogtreecommitdiff
blob: 1ad5d50bf047b58a2eea2a47142ea9dc5d1c08ac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
https://github.com/go-gitea/gitea/issues/31102
https://github.com/go-gitea/gitea/pull/31105

Fix missing memcache import

diff --git a/modules/cache/cache.go b/modules/cache/cache.go
index 2ca77bdb29f3..075367115803 100644
--- a/modules/cache/cache.go
+++ b/modules/cache/cache.go
@@ -8,6 +8,8 @@ import (
 	"time"
 
 	"code.gitea.io/gitea/modules/setting"
+
+	_ "gitea.com/go-chi/cache/memcache" //nolint:depguard // memcache plugin for cache, it is required for config "ADAPTER=memcache"
 )
 
 var defaultCache StringCache