From 12e6ea89536738ee6bf0d1eda586573f0fb83f59 Mon Sep 17 00:00:00 2001 From: Brad Sickles Date: Thu, 22 Jun 2023 09:32:36 -0400 Subject: [PATCH 1/2] Fix error message when unable to destroy autogen subdomain --- internal/provider/resource_autogen_subdomain.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/provider/resource_autogen_subdomain.go b/internal/provider/resource_autogen_subdomain.go index 54863d0..a524dfe 100644 --- a/internal/provider/resource_autogen_subdomain.go +++ b/internal/provider/resource_autogen_subdomain.go @@ -211,7 +211,7 @@ func (r *resourceAutogenSubdomain) Destroy(ctx context.Context, prior map[string } else if !found { diags = append(diags, &tfprotov5.Diagnostic{ Severity: tfprotov5.DiagnosticSeverityError, - Summary: fmt.Sprintf("The autogen_subdomain for the subdomain %d and env %q is missing.", subdomainId, envId), + Summary: fmt.Sprintf("The autogen_subdomain for the subdomain %d and env %d is missing.", subdomainId, envId), }) } From 1551c96bb703da8192cef59a51b50659bd89dce4 Mon Sep 17 00:00:00 2001 From: Brad Sickles Date: Thu, 22 Jun 2023 09:39:46 -0400 Subject: [PATCH 2/2] changelog --- CHANGELOG.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2157ee2..b7eb26f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,9 @@ +## 0.6.21 (Jun 22, 2023) + +BUG FIXES: + +* Fixed error message when autogen subdomain is unable to destroy. + ## 0.6.20 (May 15, 2023) BUG FIXES: