| Index: service/datastore/context.go
|
| diff --git a/service/datastore/context.go b/service/datastore/context.go
|
| index 93f320c93bc6d1b3e470bd4cca24ba1a976cea41..1de3b246c55b016537a30c6731194d26159a324a 100644
|
| --- a/service/datastore/context.go
|
| +++ b/service/datastore/context.go
|
| @@ -5,6 +5,7 @@
|
| package datastore
|
|
|
| import (
|
| + "github.com/luci/gae/service/info"
|
| "golang.org/x/net/context"
|
| )
|
|
|
| @@ -47,7 +48,12 @@ func GetRaw(c context.Context) RawInterface {
|
|
|
| // Get gets the Interface implementation from context.
|
| func Get(c context.Context) Interface {
|
| - return &datastoreImpl{GetRaw(c)}
|
| + inf := info.Get(c)
|
| + return &datastoreImpl{
|
| + GetRaw(c),
|
| + inf.FullyQualifiedAppID(),
|
| + inf.GetNamespace(),
|
| + }
|
| }
|
|
|
| // SetRawFactory sets the function to produce Datastore instances, as returned by
|
|
|