mirror of
https://github.com/restic/restic.git
synced 2025-12-22 23:06:16 +00:00
Update dependencies
This commit is contained in:
6
vendor/google.golang.org/api/internal/creds.go
generated
vendored
6
vendor/google.golang.org/api/internal/creds.go
generated
vendored
@@ -52,8 +52,7 @@ func credFileTokenSource(ctx context.Context, filename string, scope ...string)
|
||||
if ok {
|
||||
return &google.DefaultCredentials{
|
||||
TokenSource: ts,
|
||||
// TODO(jba): uncomment after https://go-review.googlesource.com/c/51111 is in.
|
||||
// JSON: data,
|
||||
JSON: data,
|
||||
}, nil
|
||||
}
|
||||
|
||||
@@ -72,8 +71,7 @@ func credFileTokenSource(ctx context.Context, filename string, scope ...string)
|
||||
return &google.DefaultCredentials{
|
||||
ProjectID: pid.ProjectID,
|
||||
TokenSource: cfg.TokenSource(ctx),
|
||||
// TODO(jba): uncomment after https://go-review.googlesource.com/c/51111 is in.
|
||||
// JSON: data,
|
||||
JSON: data,
|
||||
}, nil
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user