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

Unified Diff: filter/dscache/ds_txn.go

Issue 1355783002: Refactor keys and queries in datastore service and implementation. (Closed) Base URL: https://github.com/luci/gae.git@master
Patch Set: Created 5 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
Index: filter/dscache/ds_txn.go
diff --git a/filter/dscache/ds_txn.go b/filter/dscache/ds_txn.go
index 6ecceb4f77a56d61092898bac43eb4f6e9e3f897..a1664f3b4d5ede1a09d105ac20b7feb3df52917c 100644
--- a/filter/dscache/ds_txn.go
+++ b/filter/dscache/ds_txn.go
@@ -18,12 +18,12 @@ type dsTxnCache struct {
var _ ds.RawInterface = (*dsTxnCache)(nil)
-func (d *dsTxnCache) DeleteMulti(keys []ds.Key, cb ds.DeleteMultiCB) error {
+func (d *dsTxnCache) DeleteMulti(keys []*ds.Key, cb ds.DeleteMultiCB) error {
d.state.add(d.sc, keys)
return d.RawInterface.DeleteMulti(keys, cb)
}
-func (d *dsTxnCache) PutMulti(keys []ds.Key, metas []ds.PropertyMap, cb ds.PutMultiCB) error {
+func (d *dsTxnCache) PutMulti(keys []*ds.Key, metas []ds.PropertyMap, cb ds.PutMultiCB) error {
d.state.add(d.sc, keys)
return d.RawInterface.PutMulti(keys, metas, cb)
}

Powered by Google App Engine
This is Rietveld 408576698