Change-Id: Ie9d82a9c162eb72f63ebd75a284083eb4318d6d1
This commit is contained in:
Patrick Jones 2021-01-12 13:02:21 -08:00
parent bf1e0506de
commit 3454980053
3 changed files with 22 additions and 26 deletions

View File

@ -122,7 +122,6 @@ type credentialsFile struct {
ServiceAccountImpersonationURL string `json:"service_account_impersonation_url"`
CredentialSource externalaccount.CredentialSource `json:"credential_source"`
QuotaProjectID string `json:"quota_project_id"`
}
func (f *credentialsFile) jwtConfig(scopes []string) *jwt.Config {

View File

@ -13,8 +13,6 @@ import (
var myURLToken = "testTokenValue"
func TestRetrieveURLSubjectToken_Text(t *testing.T) {
ts := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
@ -89,7 +87,6 @@ func TestRetrieveURLSubjectToken_JSON(t *testing.T) {
out, err := tfc.parse().subjectToken()
if err != nil {
t.Fatalf("%v", err)
}