Skip to content

Commit

Permalink
Merge pull request vitessio#4433 from Santiclause/gcs-backup-scope
Browse files Browse the repository at this point in the history
Add scope to oauth token for gcs backup storage client
  • Loading branch information
derekperkins authored Dec 8, 2018
2 parents 8e64c77 + 74c80dd commit ecb972f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion go/vt/mysqlctl/gcsbackupstorage/gcs.go
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ func (bs *GCSBackupStorage) client(ctx context.Context) (*storage.Client, error)
// the creation context, so we create a new one, but
// keep the span information.
ctx = trace.CopySpan(context.Background(), ctx)
authClient, err := google.DefaultClient(ctx)
authClient, err := google.DefaultClient(ctx, storage.ScopeFullControl)
if err != nil {
return nil, err
}
Expand Down

0 comments on commit ecb972f

Please sign in to comment.