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

Unified Diff: milo/appengine/buildbot/grpc.go

Issue 2360333003: Milo: Buildbot build grpc endpoint fix (Closed)
Patch Set: Created 4 years, 3 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: milo/appengine/buildbot/grpc.go
diff --git a/milo/appengine/buildbot/grpc.go b/milo/appengine/buildbot/grpc.go
index 3a07d879e262a8aaf35d8fc4f4e63d8dd89e08b8..5b696b864baeb60e4275093c7e4ac005cfef550a 100644
--- a/milo/appengine/buildbot/grpc.go
+++ b/milo/appengine/buildbot/grpc.go
@@ -36,7 +36,7 @@ func (s *Service) GetBuildbotBuildJSON(
return nil, grpc.Errorf(codes.InvalidArgument, "No builder specified")
}
- b, err := build(c, req.Master, req.Builder, int(req.BuildNum))
+ b, err := getBuild(c, req.Master, req.Builder, int(req.BuildNum))
switch {
case err == errBuildNotFound:
return nil, grpc.Errorf(codes.NotFound, "Build not found")
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698