Skip to content

Commit

Permalink
fix(hatchery): avoid panic on queuePolling (#5302)
Browse files Browse the repository at this point in the history
Signed-off-by: Yvonnick Esnault <[email protected]>
  • Loading branch information
yesnault authored Jul 6, 2020
1 parent 25787f1 commit 74e167a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sdk/cdsclient/client_queue.go
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ func (c *client) QueuePolling(ctx context.Context, jobs chan<- sdk.WorkflowNodeJ
}

if err != nil {
errs <- fmt.Errorf("unable to get job %v info: %v", job.ID, err)
errs <- fmt.Errorf("unable to get job %v info: %v", jobEvent.ID, err)
continue
}
// push the job in the channel
Expand Down

0 comments on commit 74e167a

Please sign in to comment.