Commit 88acde4f authored by Samuel GAIST's avatar Samuel GAIST
Browse files

[scripts][worker] Improve parameter name

parent 5527c8ee
......@@ -30,7 +30,7 @@
Usage:
%(prog)s [-v ... | --verbose ...] [ --name=<name>] [--prefix=<path>]
[--cache=<path>] [--docker] [--docker-network=<name>] <address>
[--cache=<path>] [--docker] [--docker-network=<name>] <scheduler_address>
%(prog)s (--help | -h)
%(prog)s (--version | -V)
......@@ -285,7 +285,7 @@ def main(user_input=None):
logger.info("Using docker network: '%s'", docker_network_name)
# Establish a connection with the scheduler
(context, socket, poller) = connect_to_scheduler(args['<address>'], args['--name'])
(context, socket, poller) = connect_to_scheduler(args['<scheduler_address>'], args['--name'])
if context is None:
return 1
......@@ -298,7 +298,7 @@ def main(user_input=None):
while not stop:
# If necessary, wait for the comeback of the scheduler
if not scheduler_available:
(context, socket, poller) = connect_to_scheduler(args['<address>'], args['--name'])
(context, socket, poller) = connect_to_scheduler(args['<scheduler_address>'], args['--name'])
if context is None:
break
scheduler_available = True
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment