Skip to content

Commit bbafffb

Browse files
Moritz Clasmeierclaude
andcommitted
Use unbuffered channel for wait result
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 001c7e2 commit bbafffb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

internal/deployer/deploy_via_operator.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -458,7 +458,7 @@ func (d *Deployer) waitForComponentReady(ctx context.Context, comp component.Com
458458
defer cancel()
459459

460460
// Spawn a goroutine, which waits until some success condition, sending the result (nil or error) through a dedicated channel.
461-
waitChannel := make(chan error, 1)
461+
waitChannel := make(chan error)
462462

463463
go func() {
464464
err := d.waitForAvailableCondition(waitCtx, waitCfg.WaitFor, waitCfg.Namespace, waitCfg.Timeout)

0 commit comments

Comments
 (0)