| 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) {
|
|
|