Commit b7967ed4 authored by Rafael Ostertag's avatar Rafael Ostertag
Browse files

When launching the agent modules, pass reconnect interval as expected by __call__()

parent da0db420
......@@ -113,7 +113,7 @@ def main():
for module in deployit.modules.modulelist:
pid = os.fork()
if pid == 0:
deployit.modules.modulelist[module]['instance']() # run the module
deployit.modules.modulelist[module]['instance'](reconnect_interval=deployit.config.agent['reconnect_interval']) # run the module
exit(0)
children.append(pid)
......
Supports Markdown
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