From dc200688a18751de82be49398a190553b7628097 Mon Sep 17 00:00:00 2001 From: Lawrence Wong Date: Fri, 13 Jan 2023 10:42:42 -0800 Subject: [PATCH] Use context.TODO in StartJobUpdate as in V1 --- realis.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/realis.go b/realis.go index 1494d52..3552f61 100644 --- a/realis.go +++ b/realis.go @@ -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()