Skip to content

Commit

Permalink
Update CHANGELOG (#303)
Browse files Browse the repository at this point in the history
  • Loading branch information
bendbennett committed Sep 2, 2022
1 parent b76f293 commit b16e78a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
@@ -1,3 +1,9 @@
## 3.4.* (unreleased)

BUG FIXES:

* resource: Prevent null `keeper` from forcing replacement ([305](https://github.com/hashicorp/terraform-provider-random/pull/305)).

## 3.4.1 (August 31, 2022)

BUG FIXES:
Expand Down
3 changes: 1 addition & 2 deletions internal/provider/resource_pet.go
Expand Up @@ -131,8 +131,7 @@ func (r *petResource) Create(ctx context.Context, req resource.CreateRequest, re
func (r *petResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse) {
}

// Update is intentionally left blank as all required and optional attributes force replacement of the resource
// through the RequiresReplace AttributePlanModifier.
// Update ensures the plan value is copied to the state to complete the update.
func (r *petResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse) {
var model petModelV0

Expand Down

0 comments on commit b16e78a

Please sign in to comment.