Skip to content

Commit

Permalink
Fix table constraint log
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-asawicki committed Feb 7, 2024
1 parent 5361a17 commit f115fc1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/resources/table_constraint.go
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,7 @@ func UpdateTableConstraint(d *schema.ResourceData, meta interface{}) error {
alterStatement := sdk.NewAlterTableRequest(*tableIdentifier).WithConstraintAction(sdk.NewTableConstraintActionRequest().WithRename(constraintRequest))
err = client.Tables.Alter(ctx, alterStatement)
if err != nil {
return fmt.Errorf("error renaming table constraint %v err = %w", &tc.name, err)
return fmt.Errorf("error renaming table constraint %s err = %w", tc.name, err)
}
}

Expand Down

0 comments on commit f115fc1

Please sign in to comment.