Skip to content

Commit

Permalink
Fixed documentation resource model code (#890)
Browse files Browse the repository at this point in the history
  • Loading branch information
austinvalle authored Dec 12, 2023
1 parent 0545d40 commit 6c28dc6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion website/docs/plugin/framework/resources/create.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ func (r ThingResource) Schema(ctx context.Context, req resource.SchemaRequest, r
}

func (r ThingResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse) {
var data *ThingResourceModel
var data ThingResourceModel

// Read Terraform plan data into the model
resp.Diagnostics.Append(req.Plan.Get(ctx, &data)...)
Expand Down

0 comments on commit 6c28dc6

Please sign in to comment.