Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(110)

Unified Diff: milo/api/proto/buildbotserver_dec.go

Issue 2366763002: Milo: Grpc endpoint for multiple builds on a builder (Closed)
Patch Set: Review comments, add smoke test Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « milo/api/proto/buildbot.pb.go ('k') | milo/api/proto/pb.discovery.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
+}
« no previous file with comments | « milo/api/proto/buildbot.pb.go ('k') | milo/api/proto/pb.discovery.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698