| Index: milo/api/proto/buildbotserver_dec.go
|
| diff --git a/milo/api/proto/buildbotserver_dec.go b/milo/api/proto/buildbotserver_dec.go
|
| index 05f2ba5931e91c69faf68895438b90e0c286115b..f69aa828c1099614c3b087ce96e24b88330537dd 100644
|
| --- a/milo/api/proto/buildbotserver_dec.go
|
| +++ b/milo/api/proto/buildbotserver_dec.go
|
| @@ -51,3 +51,18 @@ func (s *DecoratedBuildbot) GetBuildbotBuildJSON(c context.Context, req *Buildbo
|
| }
|
| return
|
| }
|
| +
|
| +func (s *DecoratedBuildbot) GetBuildbotBuildsJSON(c context.Context, req *BuildbotBuildsRequest) (rsp *BuildbotBuildsJSON, err error) {
|
| + var newCtx context.Context
|
| + if s.Prelude != nil {
|
| + newCtx, err = s.Prelude(c, "GetBuildbotBuildsJSON", req)
|
| + }
|
| + if err == nil {
|
| + c = newCtx
|
| + rsp, err = s.Service.GetBuildbotBuildsJSON(c, req)
|
| + }
|
| + if s.Postlude != nil {
|
| + err = s.Postlude(c, "GetBuildbotBuildsJSON", rsp, err)
|
| + }
|
| + return
|
| +}
|
|
|