Merge "genconfig: use same packed-ness for cache as blobs."

This commit is contained in:
Brad Fitzpatrick 2013-11-28 05:33:46 +00:00 committed by Gerrit Code Review
commit 4346056b73
2 changed files with 2 additions and 2 deletions

View File

@ -447,7 +447,7 @@ func genLowLevelPrefixes(params *configPrefixesParams, ownerName string) (m json
} }
m["/cache/"] = map[string]interface{}{ m["/cache/"] = map[string]interface{}{
"handler": "storage-filesystem", "handler": "storage-" + storageType,
"handlerArgs": map[string]interface{}{ "handlerArgs": map[string]interface{}{
"path": filepath.Join(params.blobPath, "/cache"), "path": filepath.Join(params.blobPath, "/cache"),
}, },

View File

@ -40,7 +40,7 @@
} }
}, },
"/cache/": { "/cache/": {
"handler": "storage-filesystem", "handler": "storage-diskpacked",
"handlerArgs": { "handlerArgs": {
"path": "/tmp/blobs/cache" "path": "/tmp/blobs/cache"
} }