refactor(ctx): update to latest go-jsonrpc

This commit is contained in:
frrist
2020-08-25 15:20:41 -07:00
parent 14cda27e9f
commit 0d61e0d717
12 changed files with 29 additions and 27 deletions
+1 -1
View File
@@ -33,7 +33,7 @@ func connectRemoteWorker(ctx context.Context, fa api.Common, url string) (*remot
headers := http.Header{}
headers.Add("Authorization", "Bearer "+string(token))
wapi, closer, err := client.NewWorkerRPC(url, headers)
wapi, closer, err := client.NewWorkerRPC(context.TODO(), url, headers)
if err != nil {
return nil, xerrors.Errorf("creating jsonrpc client: %w", err)
}