Skip to content

Commit 233580a

Browse files
committed
Update "Ascii" -> "ASCII"
1 parent 44a0d49 commit 233580a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

internal/provider/gpg_key.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import (
1515
type modelTFERegistryGPGKey struct {
1616
ID types.String `tfsdk:"id"`
1717
Organization types.String `tfsdk:"organization"`
18-
AsciiArmor types.String `tfsdk:"ascii_armor"`
18+
ASCIIArmor types.String `tfsdk:"ascii_armor"`
1919
CreatedAt types.String `tfsdk:"created_at"`
2020
UpdatedAt types.String `tfsdk:"updated_at"`
2121
}
@@ -26,7 +26,7 @@ func modelFromTFEVGPGKey(v *tfe.GPGKey) modelTFERegistryGPGKey {
2626
return modelTFERegistryGPGKey{
2727
ID: types.StringValue(v.KeyID),
2828
Organization: types.StringValue(v.Namespace),
29-
AsciiArmor: types.StringValue(v.AsciiArmor),
29+
ASCIIArmor: types.StringValue(v.AsciiArmor),
3030
CreatedAt: types.StringValue(v.CreatedAt.Format(time.RFC3339)),
3131
UpdatedAt: types.StringValue(v.UpdatedAt.Format(time.RFC3339)),
3232
}

internal/provider/resource_tfe_registry_gpg_key.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ func (r *resourceTFERegistryGPGKey) Create(ctx context.Context, req resource.Cre
117117
options := tfe.GPGKeyCreateOptions{
118118
Type: "gpg-keys",
119119
Namespace: organization,
120-
AsciiArmor: plan.AsciiArmor.ValueString(),
120+
AsciiArmor: plan.ASCIIArmor.ValueString(),
121121
}
122122

123123
tflog.Debug(ctx, "Creating private registry GPG key")

0 commit comments

Comments
 (0)