Skip to content

Commit

Permalink
Fix typo in group_resource.go
Browse files Browse the repository at this point in the history
Signed-off-by: Alina Buzachis <[email protected]>
  • Loading branch information
alinabuzachis committed Feb 19, 2024
1 parent 3c9a948 commit 55f387c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/provider/group_resource.go
Original file line number Diff line number Diff line change
Expand Up @@ -114,13 +114,13 @@ func (r *GroupResource) Create(ctx context.Context, req resource.CreateRequest,
var data GroupResourceModel
var diags diag.Diagnostics

// Read Terraform plan data into host resource model
// Read Terraform plan data into group resource model
resp.Diagnostics.Append(req.Plan.Get(ctx, &data)...)
if resp.Diagnostics.HasError() {
return
}

// Create request body from host data
// Create request body from group data
createRequestBody, diags := data.CreateRequestBody()
resp.Diagnostics.Append(diags...)
if resp.Diagnostics.HasError() {
Expand Down

0 comments on commit 55f387c

Please sign in to comment.