diff options
author | 6543 <6543@obermui.de> | 2022-05-15 20:43:27 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-15 20:43:27 +0200 |
commit | 00a981d341dfa62d2a9667b01500820ec7ddf19a (patch) | |
tree | fc95b030791d6629d277cfe48a3380f296cf5adb /routers/web | |
parent | 3a245230f494b9d6a7e5c688cbb3c7f7c3a33cbd (diff) | |
download | gitea-00a981d341dfa62d2a9667b01500820ec7ddf19a.tar.gz gitea-00a981d341dfa62d2a9667b01500820ec7ddf19a.zip |
Update go-chi/cache to utilize Ping() (#19719)
* update gitea.com/go-chi/cache -> v0.2.0
* ajust to new interface
* refactor
Diffstat (limited to 'routers/web')
-rw-r--r-- | routers/web/healthcheck/check.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/web/healthcheck/check.go b/routers/web/healthcheck/check.go index 481f05c0da..57707b6121 100644 --- a/routers/web/healthcheck/check.go +++ b/routers/web/healthcheck/check.go @@ -126,7 +126,7 @@ func checkCache(checks checks) status { } st := componentStatus{} - if err := cache.Ping(); err != nil { + if err := cache.GetCache().Ping(); err != nil { st.Status = fail st.Time = getCheckTime() log.Error("cache ping failed with error: %v", err) |