Skip to content

Commit

Permalink
Fix potential deadlock retrieving results (#1941)
Browse files Browse the repository at this point in the history
Signed-off-by: Fernando Cainelli <fernando.cainelli@getyourguide.com>
Co-authored-by: Peter Grant <117960526+franknstyle@users.noreply.github.com>
  • Loading branch information
cainelli and franknstyle authored Sep 17, 2024
1 parent ffafac3 commit 18bb79d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/client/retrieve.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ func (c *SonobuoyClient) RetrieveResults(cfg *RetrieveConfig) (io.Reader, <-chan
ec := make(chan error, 1)
client, err := c.Client()
if err != nil {
ec <- err
return nil, ec, nil
}

Expand Down

0 comments on commit 18bb79d

Please sign in to comment.