summaryrefslogtreecommitdiff
path: root/app/cache.go
diff options
context:
space:
mode:
authorHorus32015-02-25 16:41:52 +0100
committerHorus32015-02-25 16:41:52 +0100
commit49ffcba2c3c4a19d147dd792d7f6c99b7545a491 (patch)
tree4fbd8a283ef7ab13f92e11e5030ad5c362be4524 /app/cache.go
parent9e1d8d0fb2b57903b1c6c0c2765b7808655c74a0 (diff)
downloadstatuspage-49ffcba2c3c4a19d147dd792d7f6c99b7545a491.tar.gz
UX on front end.
Diffstat (limited to 'app/cache.go')
-rw-r--r--app/cache.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/cache.go b/app/cache.go
index 4e8ece2..014a795 100644
--- a/app/cache.go
+++ b/app/cache.go
@@ -35,5 +35,5 @@ func DelCache(key string) error {
func FillCache() error {
h := []Host{}
Db.Find(&h)
- return CacheHosts("database", h)
+ return CacheHosts(cache_prefix+"database", h)
}