Skip to content

Commit 56b71c0

Browse files
committed
Fix linting issues
1 parent a262a97 commit 56b71c0

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

internal/provider/resource_tfe_hyok_configuration.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -139,10 +139,10 @@ func (r *resourceTFEHYOKConfiguration) Schema(_ context.Context, _ resource.Sche
139139
},
140140
Validators: []validator.String{
141141
stringvalidator.OneOf(
142-
string(OIDCConfigurationTypeAWS),
143-
string(OIDCConfigurationTypeGCP),
144-
string(OIDCConfigurationTypeVault),
145-
string(OIDCConfigurationTypeAzure),
142+
OIDCConfigurationTypeAWS,
143+
OIDCConfigurationTypeGCP,
144+
OIDCConfigurationTypeVault,
145+
OIDCConfigurationTypeAzure,
146146
),
147147
},
148148
},

internal/provider/resource_tfe_hyok_configuration_test.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -211,6 +211,10 @@ func revokeHYOKConfiguration(t *testing.T, id string) {
211211
}
212212
return nil, nil
213213
})
214+
215+
if err != nil {
216+
t.Fatal(err)
217+
}
214218
}
215219

216220
func testAccCheckTFEHYOKConfigurationExists(n string, hyokConfig *tfe.HYOKConfiguration) resource.TestCheckFunc {

0 commit comments

Comments
 (0)