]> source.dussan.org Git - gitea.git/commitdiff
Mark Cache with ini tag (#12605) (#12611)
authorJohn Olheiser <john.olheiser@gmail.com>
Wed, 26 Aug 2020 15:53:14 +0000 (10:53 -0500)
committerGitHub <noreply@github.com>
Wed, 26 Aug 2020 15:53:14 +0000 (11:53 -0400)
Signed-off-by: jolheiser <john.olheiser@gmail.com>
modules/setting/cache.go

index 34a212db188549a1e499e1248ce3d82992007105..af47bd085ab81df551a0ac991dfeb855a50aff40 100644 (file)
@@ -23,7 +23,7 @@ type Cache struct {
 var (
        // CacheService the global cache
        CacheService = struct {
-               Cache
+               Cache `ini:"cache"`
 
                LastCommit struct {
                        Enabled      bool