summaryrefslogtreecommitdiff
path: root/app/cache.go
diff options
context:
space:
mode:
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)
}