Skip to content

Commit

Permalink
Revert "Fix goroutine leak when reconciling"
Browse files Browse the repository at this point in the history
This reverts commit 0927b1f.
  • Loading branch information
turkenf committed Sep 9, 2024
1 parent 80fe72f commit 5003587
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/clients/gcp.go
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit 5003587

Please sign in to comment.