Chromium Code Reviews| Index: client/cmd/logdog_butler/main.go |
| diff --git a/client/cmd/logdog_butler/main.go b/client/cmd/logdog_butler/main.go |
| index 605d68810444f1ed5818980478154537d47e428d..46999cf251de352a959851a4d6c2b3ffd9f5aad5 100644 |
| --- a/client/cmd/logdog_butler/main.go |
| +++ b/client/cmd/logdog_butler/main.go |
| @@ -27,7 +27,6 @@ import ( |
| "github.com/luci/luci-go/common/paniccatcher" |
| "github.com/maruel/subcommands" |
| "golang.org/x/net/context" |
| - "google.golang.org/cloud" |
| ) |
| const ( |
| @@ -134,19 +133,6 @@ func (a *butlerApplication) authenticatedClient(ctx context.Context) (*http.Clie |
| return a.client, nil |
| } |
| -func (a *butlerApplication) authenticatedContext(ctx context.Context, project string) (context.Context, error) { |
|
dnj (Google)
2016/01/21 04:36:24
No longer needed w/ Pub/Sub changes.
|
| - if project == "" { |
| - return nil, errors.New("must supply a project name") |
| - } |
| - |
| - client, err := a.authenticatedClient(ctx) |
| - if err != nil { |
| - return nil, err |
| - } |
| - |
| - return cloud.WithContext(ctx, project, client), nil |
| -} |
| - |
| func (a *butlerApplication) configOutput() (output.Output, error) { |
| factory := a.outputConfig.getFactory() |
| if factory == nil { |