From b59d34c9665826939167b3f487590d8dcfbff6de Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Thu, 27 Feb 2025 00:35:28 +0000 Subject: [PATCH] feat(dns_record): toggle stricter drift detection (#5212) --- internal/services/dns_record/resource.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/services/dns_record/resource.go b/internal/services/dns_record/resource.go index eb34f5c3ed..2ff5dae2e1 100755 --- a/internal/services/dns_record/resource.go +++ b/internal/services/dns_record/resource.go @@ -182,7 +182,7 @@ func (r *DNSRecordResource) Read(ctx context.Context, req resource.ReadRequest, return } bytes, _ := io.ReadAll(res.Body) - err = apijson.UnmarshalComputed(bytes, &env) + err = apijson.Unmarshal(bytes, &env) if err != nil { resp.Diagnostics.AddError("failed to deserialize http request", err.Error()) return