Skip to content

Commit

Permalink
Fix error msg (#30)
Browse files Browse the repository at this point in the history
  • Loading branch information
BSick7 authored Jun 22, 2023
1 parent 635ae2d commit d5ea1fa
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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:
Expand Down
2 changes: 1 addition & 1 deletion internal/provider/resource_autogen_subdomain.go
Original file line number Diff line number Diff line change
Expand Up @@ -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),
})
}

Expand Down

0 comments on commit d5ea1fa

Please sign in to comment.