summaryrefslogtreecommitdiffstats
path: root/lavalab-gen.py
diff options
context:
space:
mode:
authorCorentin LABBE <clabbe@baylibre.com>2018-09-03 14:42:37 +0200
committerCorentin LABBE <clabbe@baylibre.com>2018-09-03 14:42:37 +0200
commite21ccee9df4afba55811e58e3d6943a076a56154 (patch)
tree02ded8d0b9ca7277815015ddd7dc2e2d35d17d93 /lavalab-gen.py
parentc160d2a552ae2d05a3931b688efe4bbc042f153d (diff)
lavalab-gen.py: default_slave is a valid keyword
default_slave was not in valid keyword and thus generate a warning. This patch set it as valid and document it in the mean time.
Diffstat (limited to 'lavalab-gen.py')
-rwxr-xr-xlavalab-gen.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lavalab-gen.py b/lavalab-gen.py
index 0af6fd3..b327813 100755
--- a/lavalab-gen.py
+++ b/lavalab-gen.py
@@ -219,7 +219,7 @@ def main():
sys.exit(1)
slaves = workers["slaves"]
for slave in slaves:
- keywords_slaves = [ "name", "host", "dispatcher_ip", "remote_user", "remote_master", "remote_address", "remote_rpc_port", "remote_proto", "extra_actions", "zmq_auth_key", "zmq_auth_key_secret" ]
+ keywords_slaves = [ "name", "host", "dispatcher_ip", "remote_user", "remote_master", "remote_address", "remote_rpc_port", "remote_proto", "extra_actions", "zmq_auth_key", "zmq_auth_key_secret", "default_slave" ]
for keyword in slave:
if not keyword in keywords_slaves:
print("WARNING: unknown keyword %s" % keyword)