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

Unified Diff: service/datastore/checkfilter.go

Issue 1270113002: Re-add metadata passthrough on Get operations (Closed) Base URL: https://github.com/luci/gae.git@fix_other_interfaces
Patch Set: cleanup Created 5 years, 4 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 | « impl/prod/raw_datastore.go ('k') | service/datastore/checkfilter_test.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: service/datastore/checkfilter.go
diff --git a/service/datastore/checkfilter.go b/service/datastore/checkfilter.go
index 0507d114fa6f7a503ad8c2e545365e4d6c80fbe7..4c28307997ebb910a32e076a6f3bd373a8a78924 100644
--- a/service/datastore/checkfilter.go
+++ b/service/datastore/checkfilter.go
@@ -36,7 +36,7 @@ func (tcf *checkFilter) Run(q Query, cb RawRunCB) error {
return tcf.RawInterface.Run(q, cb)
}
-func (tcf *checkFilter) GetMulti(keys []Key, cb GetMultiCB) error {
+func (tcf *checkFilter) GetMulti(keys []Key, meta MultiMetaGetter, cb GetMultiCB) error {
if len(keys) == 0 {
return nil
}
@@ -55,12 +55,12 @@ func (tcf *checkFilter) GetMulti(keys []Key, cb GetMultiCB) error {
}
return nil
}
- return tcf.RawInterface.GetMulti(keys, cb)
+ return tcf.RawInterface.GetMulti(keys, meta, cb)
}
func (tcf *checkFilter) PutMulti(keys []Key, vals []PropertyMap, cb PutMultiCB) error {
if len(keys) != len(vals) {
- return fmt.Errorf("datastore: GetMulti with mismatched keys/vals lengths (%d/%d)", len(keys), len(vals))
+ return fmt.Errorf("datastore: PutMulti with mismatched keys/vals lengths (%d/%d)", len(keys), len(vals))
}
if len(keys) == 0 {
return nil
« no previous file with comments | « impl/prod/raw_datastore.go ('k') | service/datastore/checkfilter_test.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698