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

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

Issue 2931773004: Milo: Add machine pool info for buildbot builder view. (Closed)
Patch Set: Rebase Created 3 years, 6 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
Index: milo/appengine/buildbot/master.go
diff --git a/milo/appengine/buildbot/master.go b/milo/appengine/buildbot/master.go
index 52601088733ca7c19d7f4c1bf61a0f7989bf9f8e..878db75911eafd4a5710808fce663eebf36dfd7c 100644
--- a/milo/appengine/buildbot/master.go
+++ b/milo/appengine/buildbot/master.go
@@ -86,13 +86,14 @@ func getMasterEntry(c context.Context, name string) (*buildbotMasterEntry, error
// the buildbotMaster struct (if found), whether or not it is internal,
// the last modified time, and an error if not found.
func getMasterJSON(c context.Context, name string) (
- master *buildbotMaster, t time.Time, err error) {
+ master *buildbotMaster, internal bool, t time.Time, err error) {
master = &buildbotMaster{}
entry, err := getMasterEntry(c, name)
if err != nil {
return
}
t = entry.Modified
+ internal = entry.Internal
err = decodeMasterEntry(c, entry, master)
return
}

Powered by Google App Engine
This is Rietveld 408576698