Skip to content

Commit 15cd21c

Browse files
authored
fix: set correct name for TXT formatter environment variable (#195)
1 parent 4a94f28 commit 15cd21c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/provider/provider.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ func (p *hetznerDNSProvider) Configure(ctx context.Context, req provider.Configu
124124
resp.Diagnostics.AddAttributeError(path.Root("max_retries"), "must be an integer", err.Error())
125125
}
126126

127-
client.txtFormatter, err = utils.ConfigureBoolAttribute(data.EnableTxtFormatter, "HETZNER_DNS_MAX_RETRIES", true)
127+
client.txtFormatter, err = utils.ConfigureBoolAttribute(data.EnableTxtFormatter, "HETZNER_DNS_ENABLE_TXT_FORMATTER", true)
128128
if err != nil {
129129
resp.Diagnostics.AddAttributeError(path.Root("enable_txt_formatter"), "must be a boolean", err.Error())
130130
}

0 commit comments

Comments
 (0)