Index: service/datastore/checkfilter.go |
diff --git a/service/datastore/checkfilter.go b/service/datastore/checkfilter.go |
index 2dd9ea3b520db3c7221907f96dccbfa41556e849..83c7fdff0e5a0397cb9e83c4cdb879582ca86e18 100644 |
--- a/service/datastore/checkfilter.go |
+++ b/service/datastore/checkfilter.go |
@@ -117,5 +117,9 @@ func (tcf *checkFilter) DeleteMulti(keys []Key, cb DeleteMultiCB) error { |
func applyCheckFilter(c context.Context, i RawInterface) RawInterface { |
inf := info.Get(c) |
- return &checkFilter{i, inf.AppID(), inf.GetNamespace()} |
+ aid := inf.AppID() |
+ if inf.IsDevAppServer() { |
+ aid = "dev~" + aid |
+ } |
iannucci
2015/08/15 21:50:54
This is the wrong place to apply this. memory.info
dnj (Google)
2015/08/16 06:11:06
The actual AppID (as returned by appengine.AppID()
|
+ return &checkFilter{i, aid, inf.GetNamespace()} |
} |