| Index: milo/api/proto/buildbotserver_dec.go
|
| diff --git a/milo/api/proto/buildbotserver_dec.go b/milo/api/proto/buildbotserver_dec.go
|
| index 50548ac71719b158a326fe27e91bf87f1016d4a8..05f2ba5931e91c69faf68895438b90e0c286115b 100644
|
| --- a/milo/api/proto/buildbotserver_dec.go
|
| +++ b/milo/api/proto/buildbotserver_dec.go
|
| @@ -36,3 +36,18 @@ func (s *DecoratedBuildbot) GetCompressedMasterJSON(c context.Context, req *Mast
|
| }
|
| return
|
| }
|
| +
|
| +func (s *DecoratedBuildbot) GetBuildbotBuildJSON(c context.Context, req *BuildbotBuildRequest) (rsp *BuildbotBuildJSON, err error) {
|
| + var newCtx context.Context
|
| + if s.Prelude != nil {
|
| + newCtx, err = s.Prelude(c, "GetBuildbotBuildJSON", req)
|
| + }
|
| + if err == nil {
|
| + c = newCtx
|
| + rsp, err = s.Service.GetBuildbotBuildJSON(c, req)
|
| + }
|
| + if s.Postlude != nil {
|
| + err = s.Postlude(c, "GetBuildbotBuildJSON", rsp, err)
|
| + }
|
| + return
|
| +}
|
|
|