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

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

Issue 2321243002: Milo: Add current builds to buildbot builder view (Closed)
Patch Set: Rebase 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
Index: milo/appengine/buildbot/master.go
diff --git a/milo/appengine/buildbot/master.go b/milo/appengine/buildbot/master.go
index cc1dac0910cc36591a6230487ee620c4ba856d41..6fcef9219291e4fa81ae5969f850fc238d3dc4a9 100644
--- a/milo/appengine/buildbot/master.go
+++ b/milo/appengine/buildbot/master.go
@@ -9,7 +9,6 @@ import (
"compress/gzip"
"encoding/json"
"fmt"
- "net/http"
"sort"
"time"
@@ -17,7 +16,6 @@ import (
"github.com/luci/luci-go/common/logging"
"github.com/luci/luci-go/milo/api/resp"
"github.com/luci/luci-go/milo/appengine/settings"
- "github.com/luci/luci-go/milo/common/miloerror"
"golang.org/x/net/context"
)
@@ -36,11 +34,6 @@ func decodeMasterEntry(
return nil
}
-var errMasterNotFound = miloerror.Error{
- Message: "Master not found",
- Code: http.StatusNotFound,
-}
-
// getMasterEntry feches the named master and does an ACL check on the
// current user.
func getMasterEntry(c context.Context, name string) (*buildbotMasterEntry, error) {

Powered by Google App Engine
This is Rietveld 408576698