Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1)

Unified Diff: filter/dscache/serialize.go

Issue 2353063004: Add "MkKeyContext" KeyContext generation function. (Closed)
Patch Set: Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | filter/txnBuf/txnbuf_test.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: filter/dscache/serialize.go
diff --git a/filter/dscache/serialize.go b/filter/dscache/serialize.go
index c33b86fc6232664c6b6981204fba795e700707e9..4ac0928b9ee8e80bdd6790b16c80ae974ea6b18e 100644
--- a/filter/dscache/serialize.go
+++ b/filter/dscache/serialize.go
@@ -56,5 +56,5 @@ func decodeItemValue(val []byte, ns, aid string) (ds.PropertyMap, error) {
}
buf = bytes.NewBuffer(data)
}
- return serialize.ReadPropertyMap(buf, serialize.WithoutContext, ds.KeyContext{ns, aid})
+ return serialize.ReadPropertyMap(buf, serialize.WithoutContext, ds.MkKeyContext(ns, aid))
}
« no previous file with comments | « no previous file | filter/txnBuf/txnbuf_test.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698