Skip to content

Commit

Permalink
Merge pull request #539 from IxDay/fix-memory-leak
Browse files Browse the repository at this point in the history
Fix goroutine leak when reconciling
  • Loading branch information
mergenci authored Aug 22, 2024
2 parents e24e261 + 0927b1f commit cbc7f26
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(context.WithoutCancel(ctx), &tfsdk.ResourceConfig{
diag := p.Configure(ctx, &tfsdk.ResourceConfig{
Config: ps.Configuration,
})
if diag != nil && diag.HasError() {
Expand Down

0 comments on commit cbc7f26

Please sign in to comment.