summaryrefslogtreecommitdiffhomepage
path: root/cache/filecache
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <[email protected]>2019-03-23 20:15:06 +0100
committerBjørn Erik Pedersen <[email protected]>2019-03-23 20:15:06 +0100
commitd30e845485b416e1c48fade14694b12a9fe59b6b (patch)
tree614e321fea5d37301ece7aa9eb5f61557343be4e /cache/filecache
parent597e418cb02883418f2cebb41400e8e61413f651 (diff)
downloadhugo-d30e845485b416e1c48fade14694b12a9fe59b6b.tar.gz
hugo-d30e845485b416e1c48fade14694b12a9fe59b6b.zip
Run gofmt -s
Diffstat (limited to 'cache/filecache')
-rw-r--r--cache/filecache/filecache_config.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/cache/filecache/filecache_config.go b/cache/filecache/filecache_config.go
index 75a9b61ca..a6a0252b2 100644
--- a/cache/filecache/filecache_config.go
+++ b/cache/filecache/filecache_config.go
@@ -47,11 +47,11 @@ const (
var defaultCacheConfigs = map[string]cacheConfig{
cacheKeyGetJSON: defaultCacheConfig,
cacheKeyGetCSV: defaultCacheConfig,
- cacheKeyImages: cacheConfig{
+ cacheKeyImages: {
MaxAge: -1,
Dir: resourcesGenDir,
},
- cacheKeyAssets: cacheConfig{
+ cacheKeyAssets: {
MaxAge: -1,
Dir: resourcesGenDir,
},