mirror of https://github.com/perkeep/perkeep.git
Merge "genconfig: use same packed-ness for cache as blobs."
This commit is contained in:
commit
4346056b73
|
@ -447,7 +447,7 @@ func genLowLevelPrefixes(params *configPrefixesParams, ownerName string) (m json
|
|||
}
|
||||
|
||||
m["/cache/"] = map[string]interface{}{
|
||||
"handler": "storage-filesystem",
|
||||
"handler": "storage-" + storageType,
|
||||
"handlerArgs": map[string]interface{}{
|
||||
"path": filepath.Join(params.blobPath, "/cache"),
|
||||
},
|
||||
|
|
|
@ -40,7 +40,7 @@
|
|||
}
|
||||
},
|
||||
"/cache/": {
|
||||
"handler": "storage-filesystem",
|
||||
"handler": "storage-diskpacked",
|
||||
"handlerArgs": {
|
||||
"path": "/tmp/blobs/cache"
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue