Pass the factory through as-is for the remote executor service.
The API changed to request the factory, rather than the executor.
@@ -48,8 +48,7 @@ def main(argv):
'Private key has been specified, but the certificate chain missing.')
else:
credentials = None
- tff.simulation.run_server(
- executor_factory.create_executor({}), FLAGS.threads, FLAGS.port,
+ tff.simulation.run_server(executor_factory, FLAGS.threads, FLAGS.port,
credentials)
