Skip to content

Commit

Permalink
Fix semgrep 'helper-schema-resource-Retry-without-TimeoutError-check'.
Browse files Browse the repository at this point in the history
  • Loading branch information
ewbankkit committed Nov 1, 2022
1 parent 3e40055 commit 532b45f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/service/sfn/state_machine.go
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ func resourceStateMachineUpdate(ctx context.Context, d *schema.ResourceData, met
}

// Handle eventual consistency after update.
err = resource.RetryContext(ctx, stateMachineUpdatedTimeout, func() *resource.RetryError {
err = resource.RetryContext(ctx, stateMachineUpdatedTimeout, func() *resource.RetryError { // nosemgrep:ci.helper-schema-resource-Retry-without-TimeoutError-check
output, err := FindStateMachineByARN(ctx, conn, d.Id())

if err != nil {
Expand Down

0 comments on commit 532b45f

Please sign in to comment.