Skip to content

Commit 74e167a

Browse files
authored
fix(hatchery): avoid panic on queuePolling (#5302)
Signed-off-by: Yvonnick Esnault <[email protected]>
1 parent 25787f1 commit 74e167a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sdk/cdsclient/client_queue.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ func (c *client) QueuePolling(ctx context.Context, jobs chan<- sdk.WorkflowNodeJ
9797
}
9898

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

0 commit comments

Comments
 (0)