| Index: milo/appengine/buildbucket/buckets.go
|
| diff --git a/milo/appengine/buildbucket/buckets.go b/milo/appengine/buildbucket/buckets.go
|
| index bf73cb3fd0e01533f73bd845751349288b0e084f..5b65cd5bb3a21113ff367e05660625c7b96a16e5 100644
|
| --- a/milo/appengine/buildbucket/buckets.go
|
| +++ b/milo/appengine/buildbucket/buckets.go
|
| @@ -10,17 +10,12 @@ import (
|
|
|
| "golang.org/x/net/context"
|
|
|
| - "github.com/luci/luci-go/common/logging"
|
| "github.com/luci/luci-go/milo/api/resp"
|
| "github.com/luci/luci-go/milo/appengine/common"
|
| )
|
|
|
| func GetAllBuilders(c context.Context) (*resp.CIService, error) {
|
| - settings, err := common.GetSettings(c)
|
| - if err != nil {
|
| - logging.WithError(err).Errorf(c, "could not get settings for buildbucket")
|
| - return nil, err
|
| - }
|
| + settings := common.GetSettings(c)
|
| bucketSettings := settings.Buildbucket
|
| if bucketSettings == nil {
|
| return nil, errors.New("buildbucket settings missing in config")
|
|
|