Index: appengine/swarming/swarming_bot/bot_code/remote_client.py |
diff --git a/appengine/swarming/swarming_bot/bot_code/remote_client.py b/appengine/swarming/swarming_bot/bot_code/remote_client.py |
index 2d494ffe2be087bd25c8b072f72caa9ca1748a27..579e537a69583adca224ada7aff4d44ec62047d5 100644 |
--- a/appengine/swarming/swarming_bot/bot_code/remote_client.py |
+++ b/appengine/swarming/swarming_bot/bot_code/remote_client.py |
@@ -41,10 +41,10 @@ AUTH_HEADERS_EXPIRATION_SEC = 4*60+30 |
NET_CONNECTION_TIMEOUT_SEC = 3*60 |
-def createRemoteClient(server, auth, useGrpc): |
- if useGrpc: |
+def createRemoteClient(server, auth, grpc_proxy): |
+ if grpc_proxy: |
import remote_client_grpc |
- return remote_client_grpc.RemoteClientGrpc(server) |
+ return remote_client_grpc.RemoteClientGrpc(grpc_proxy) |
return RemoteClientNative(server, auth) |