| Index: filter/dscache/dscache.go
|
| diff --git a/filter/dscache/dscache.go b/filter/dscache/dscache.go
|
| index dd52c0ba69a2d7cb20b2e8fb3dccaba9bb1aa6f8..c4069d50bf7f6a79873439691606e9bd649f8323 100644
|
| --- a/filter/dscache/dscache.go
|
| +++ b/filter/dscache/dscache.go
|
| @@ -101,11 +101,11 @@ const (
|
| ItemHasLock
|
| )
|
|
|
| -func MakeMemcacheKey(shard int, k datastore.Key) string {
|
| +func MakeMemcacheKey(shard int, k *datastore.Key) string {
|
| return fmt.Sprintf(KeyFormat, shard, HashKey(k))
|
| }
|
|
|
| -func HashKey(k datastore.Key) string {
|
| +func HashKey(k *datastore.Key) string {
|
| dgst := sha1.Sum(serialize.ToBytes(k))
|
| buf := bytes.Buffer{}
|
| enc := base64.NewEncoder(base64.StdEncoding, &buf)
|
|
|