Skip to content

Commit

Permalink
Merge pull request k0sproject#3491 from twz123/remove-unused-error-ch…
Browse files Browse the repository at this point in the history
…annel

Remove unused error channel
  • Loading branch information
twz123 authored Sep 14, 2023
2 parents a3be0a3 + 5505784 commit 6c8cf9a
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions pkg/autopilot/controller/readyprober.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,6 @@ func (p *readyProber) AddTargets(targets []apv1beta2.PlanCommandTargetStatus) {
// inspection. This function blocks until *all* spawned goroutines have completed
// or timed-out.
func (p readyProber) Probe() error {
errorCh := make(chan error, len(p.targets))
defer close(errorCh)

g := errgroup.Group{}

for _, target := range p.targets {
Expand Down

0 comments on commit 6c8cf9a

Please sign in to comment.