From 5003587007dbb0a5f26d992aa773ba4b4065e209 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fatih=20T=C3=BCrken?= Date: Mon, 9 Sep 2024 11:53:27 +0300 Subject: [PATCH] Revert "Fix goroutine leak when reconciling" This reverts commit 0927b1f82bb5ee29df4a647d4a985d874d73460e. --- internal/clients/gcp.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/clients/gcp.go b/internal/clients/gcp.go index e8f0e87ce..dfabdf87b 100644 --- a/internal/clients/gcp.go +++ b/internal/clients/gcp.go @@ -161,7 +161,7 @@ func configureNoForkGCPClient(ctx context.Context, ps *terraform.Setup, p schema // only once and using a pointer argument here will cause // race conditions between resources referring to different // ProviderConfigs. - diag := p.Configure(ctx, &tfsdk.ResourceConfig{ + diag := p.Configure(context.WithoutCancel(ctx), &tfsdk.ResourceConfig{ Config: ps.Configuration, }) if diag != nil && diag.HasError() {