diff --git a/sdk/cdsclient/client_queue.go b/sdk/cdsclient/client_queue.go index ca2b0a0c28..9eb72271a6 100644 --- a/sdk/cdsclient/client_queue.go +++ b/sdk/cdsclient/client_queue.go @@ -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