Skip to content

Commit cbc7f26

Browse files
authored
Merge pull request #539 from IxDay/fix-memory-leak
Fix goroutine leak when reconciling
2 parents e24e261 + 0927b1f commit cbc7f26

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

internal/clients/gcp.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ func configureNoForkGCPClient(ctx context.Context, ps *terraform.Setup, p schema
161161
// only once and using a pointer argument here will cause
162162
// race conditions between resources referring to different
163163
// ProviderConfigs.
164-
diag := p.Configure(context.WithoutCancel(ctx), &tfsdk.ResourceConfig{
164+
diag := p.Configure(ctx, &tfsdk.ResourceConfig{
165165
Config: ps.Configuration,
166166
})
167167
if diag != nil && diag.HasError() {

0 commit comments

Comments
 (0)