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

Unified Diff: appengine/cmd/milo/swarming/build.go

Issue 2134673003: milo: buildbucket builer view (Closed) Base URL: https://chromium.googlesource.com/external/github.com/luci/luci-go@master
Patch Set: rebased and regenerated expectations Created 4 years, 5 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 | « appengine/cmd/milo/settings/funcs.go ('k') | appengine/gaeauth/client/client.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: appengine/cmd/milo/swarming/build.go
diff --git a/appengine/cmd/milo/swarming/build.go b/appengine/cmd/milo/swarming/build.go
index e81bbb3618e31202a6bf5c066d51b540cef3804d..e8ff5973baf8354a52892f531622dd87972d9761 100644
--- a/appengine/cmd/milo/swarming/build.go
+++ b/appengine/cmd/milo/swarming/build.go
@@ -49,8 +49,7 @@ const (
func getSwarmingClient(c context.Context, server string) (*swarming.Service, error) {
c, _ = context.WithTimeout(c, 60*time.Second)
- client := transport.GetClient(client.UseServiceAccountTransport(
- c, []string{"https://www.googleapis.com/auth/userinfo.email"}, nil))
+ client := transport.GetClient(client.UseServiceAccountTransport(c, nil, nil))
sc, err := swarming.New(client)
if err != nil {
return nil, err
« no previous file with comments | « appengine/cmd/milo/settings/funcs.go ('k') | appengine/gaeauth/client/client.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698