Use context.TODO in StartJobUpdate as in V1
This commit is contained in:
parent
9575b7fb1f
commit
dc200688a1
1 changed files with 1 additions and 1 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue