From 532b45f04002eb9dc870fe1e5d287df6e47da38d Mon Sep 17 00:00:00 2001 From: Kit Ewbank Date: Tue, 1 Nov 2022 11:32:51 -0400 Subject: [PATCH] Fix semgrep 'helper-schema-resource-Retry-without-TimeoutError-check'. --- internal/service/sfn/state_machine.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/service/sfn/state_machine.go b/internal/service/sfn/state_machine.go index aff9d9b757c..ea1a3f5f132 100644 --- a/internal/service/sfn/state_machine.go +++ b/internal/service/sfn/state_machine.go @@ -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 {