From 270e8f54b67ba3b065f84d2bf5576fdfe28a48d6 Mon Sep 17 00:00:00 2001 From: Bill Thiede Date: Wed, 27 Nov 2013 20:50:16 -0800 Subject: [PATCH] genconfig: use same packed-ness for cache as blobs. Change-Id: I857f7a3071bfd80ed5f4e8cef8ca2307a978655a --- pkg/serverconfig/genconfig.go | 2 +- pkg/serverconfig/testdata/diskpacked-want.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/serverconfig/genconfig.go b/pkg/serverconfig/genconfig.go index 6642464c2..46e103066 100644 --- a/pkg/serverconfig/genconfig.go +++ b/pkg/serverconfig/genconfig.go @@ -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"), }, diff --git a/pkg/serverconfig/testdata/diskpacked-want.json b/pkg/serverconfig/testdata/diskpacked-want.json index 65966acef..d643b47d7 100644 --- a/pkg/serverconfig/testdata/diskpacked-want.json +++ b/pkg/serverconfig/testdata/diskpacked-want.json @@ -40,7 +40,7 @@ } }, "/cache/": { - "handler": "storage-filesystem", + "handler": "storage-diskpacked", "handlerArgs": { "path": "/tmp/blobs/cache" }