| Index: go/src/infra/gae/epservice/example/service_currentvalue.go
|
| diff --git a/go/src/infra/gae/epservice/example/service_currentvalue.go b/go/src/infra/gae/epservice/example/service_currentvalue.go
|
| index b161be10702ffad9459f2cbd4829b1d967c8b098..1042bbb3eef1220c25235391110bf8da76ca8960 100644
|
| --- a/go/src/infra/gae/epservice/example/service_currentvalue.go
|
| +++ b/go/src/infra/gae/epservice/example/service_currentvalue.go
|
| @@ -6,7 +6,9 @@ package example
|
|
|
| import (
|
| "golang.org/x/net/context"
|
| +
|
| "infra/gae/libs/gae"
|
| + "infra/gae/libs/gae/helper"
|
| "infra/gae/libs/gae/prod"
|
|
|
| "github.com/GoogleCloudPlatform/go-endpoints/endpoints"
|
| @@ -29,7 +31,7 @@ func (Example) CurrentValue(c context.Context, r *CurrentValueReq) (rsp *Current
|
|
|
| key := rds.NewKey("Counter", r.Name, 0, nil)
|
| ctr := &Counter{}
|
| - if err = rds.Get(key, ctr); err != nil {
|
| + if err = rds.Get(key, helper.GetPLS(ctr)); err != nil {
|
| return
|
| }
|
|
|
|
|