apiclient: Version client funcs

This commit is contained in:
Łukasz Magiera
2021-03-25 15:39:48 +01:00
parent 9223a8e5ff
commit e003977559
9 changed files with 35 additions and 23 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(context.TODO(), url, headers)
wapi, closer, err := client.NewWorkerRPCV0(context.TODO(), url, headers)
if err != nil {
return nil, xerrors.Errorf("creating jsonrpc client: %w", err)
}