Use context.TODO in StartJobUpdate as in V1

This commit is contained in:
Lawrence Wong 2023-01-13 10:42:42 -08:00
parent 9575b7fb1f
commit dc200688a1

View file

@ -602,7 +602,7 @@ func (c *Client) StartJobUpdate(updateJob *JobUpdate, message string) (*aurora.S
resp, retryErr := c.thriftCallWithRetries(false,
func() (*aurora.Response, error) {
return c.client.StartJobUpdate(nil, updateJob.request, message)
return c.client.StartJobUpdate(context.TODO(), updateJob.request, message)
},
func() (*aurora.Response, bool) {
key := updateJob.JobKey()