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

Unified Diff: filter/dscache/context.go

Issue 1355783002: Refactor keys and queries in datastore service and implementation. (Closed) Base URL: https://github.com/luci/gae.git@master
Patch Set: appease errcheck 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
« no previous file with comments | « filter/count/rds.go ('k') | filter/dscache/ds.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: filter/dscache/context.go
diff --git a/filter/dscache/context.go b/filter/dscache/context.go
index 0233b486af9ee8dd0c03841a7d38e2cd73e35d1c..a9f10ba1de6fbf0955edf5800ce4f3842925c0e6 100644
--- a/filter/dscache/context.go
+++ b/filter/dscache/context.go
@@ -28,7 +28,7 @@ var dsTxnCacheKey key
// setting.
//
// If shardsForKey is nil, the value of DefaultShards is used for all keys.
-func FilterRDS(c context.Context, shardsForKey func(ds.Key) int) context.Context {
+func FilterRDS(c context.Context, shardsForKey func(*ds.Key) int) context.Context {
if !IsGloballyEnabled(c) {
return c
}
« no previous file with comments | « filter/count/rds.go ('k') | filter/dscache/ds.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698