properly modified google.go to fix error

This commit is contained in:
Patrick Jones 2021-08-10 10:20:28 -07:00
parent 109292283c
commit 55a616b083
1 changed files with 1 additions and 1 deletions

View File

@ -177,7 +177,7 @@ func (f *credentialsFile) tokenSource(ctx context.Context, params CredentialsPar
QuotaProjectID: f.QuotaProjectID, QuotaProjectID: f.QuotaProjectID,
Scopes: params.Scopes, Scopes: params.Scopes,
} }
return cfg.TokenSource(ctx), nil return cfg.TokenSource(ctx)
case "": case "":
return nil, errors.New("missing 'type' field in credentials") return nil, errors.New("missing 'type' field in credentials")
default: default: