Skip to content

Commit

Permalink
Update castai/resource_organization_group.go
Browse files Browse the repository at this point in the history
Co-authored-by: Radosław Skałbania <[email protected]>
  • Loading branch information
oskarwojciski and radekska authored Dec 9, 2024
1 parent aad1a81 commit f0eb820
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion castai/resource_organization_group.go
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ func resourceOrganizationGroupCreate(ctx context.Context, data *schema.ResourceD
var err error
organizationID, err = getDefaultOrganizationId(ctx, meta)
if err != nil {
return diag.FromErr(fmt.Errorf("getting default organization: %w", err))
return diag.Errorf("getting default organization: %w", err)

Check failure on line 113 in castai/resource_organization_group.go

View workflow job for this annotation

GitHub Actions / lint

printf: github.com/hashicorp/terraform-plugin-sdk/v2/diag.Errorf does not support error-wrapping directive %w (govet)

Check failure on line 113 in castai/resource_organization_group.go

View workflow job for this annotation

GitHub Actions / Build

github.com/hashicorp/terraform-plugin-sdk/v2/diag.Errorf does not support error-wrapping directive %w
}
}

Expand Down

0 comments on commit f0eb820

Please sign in to comment.