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

Unified Diff: service/rawdatastore/context.go

Issue 1253263002: Make rawdatastore API safer for writing filters. (Closed) Base URL: https://github.com/luci/gae.git@master
Patch Set: fix comments Created 5 years, 5 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 | « service/rawdatastore/checkfilter.go ('k') | service/rawdatastore/context_test.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: service/rawdatastore/context.go
diff --git a/service/rawdatastore/context.go b/service/rawdatastore/context.go
index 35216cb576509135fc2179bf4744bfb7dcb4905d..f1603b5af8a983ffa67400114b9a09157c3d62c8 100644
--- a/service/rawdatastore/context.go
+++ b/service/rawdatastore/context.go
@@ -42,7 +42,7 @@ func Get(c context.Context) Interface {
for _, f := range getCurFilters(c) {
ret = f(c, ret)
}
- return ret
+ return applyCheckFilter(c, ret)
}
// SetFactory sets the function to produce Datastore instances, as returned by
« no previous file with comments | « service/rawdatastore/checkfilter.go ('k') | service/rawdatastore/context_test.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698