[service] Fix environment variable setter.
@@ -327,7 +327,7 @@ class ManagedConnection(Connection):
# don't override any existing value so that the user may debug the
# gRPC backend by setting GRPC_VERBOSITY to ERROR, INFO, or DEBUG.
if not os.environ.get("GRPC_VERBOSITY"):
- os.environ["GRPC_VERBOSITY"] = "NONE"
+ env["GRPC_VERBOSITY"] = "NONE"
# Set environment variable COMPILER_GYM_SERVICE_ARGS to pass
# additional arguments to the service.
