Skip to content

Commit 30ff435

Browse files
jaymclaude
andcommitted
Fix error message in policy_assignment Delete method
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent f4ee668 commit 30ff435

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

internal/provider/policy_assignment_resource.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -325,8 +325,8 @@ func (r *policyAssignmentResource) Delete(ctx context.Context, req resource.Dele
325325
err = r.client.UnassignPolicy(ctx, scopeMrn, policyMrns)
326326
if err != nil {
327327
resp.Diagnostics.AddError(
328-
"Error creating policy assignment",
329-
fmt.Sprintf("Error creating policy assignment: %s", err),
328+
"Error deleting policy assignment",
329+
fmt.Sprintf("Error deleting policy assignment: %s", err),
330330
)
331331
return
332332
}

0 commit comments

Comments
 (0)