summaryrefslogtreecommitdiffstats
path: root/routers/web/healthcheck/check.go
diff options
context:
space:
mode:
Diffstat (limited to 'routers/web/healthcheck/check.go')
-rw-r--r--routers/web/healthcheck/check.go2
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)