Skip to content

Commit 824d85e

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

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
@@ -464,7 +464,7 @@ func (d *Deployer) waitForComponentReady(ctx context.Context, comp component.Com
464464
defer cancel()
465465

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

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

0 commit comments

Comments
 (0)