Commit 62263f4e by Bach Dániel

fix send_command()

parent a225fb3a
...@@ -32,6 +32,8 @@ def send_command(vm, command, *args, **kwargs): ...@@ -32,6 +32,8 @@ def send_command(vm, command, *args, **kwargs):
reactor.ended_tasks[vm][uuid] = None reactor.ended_tasks[vm][uuid] = None
for conn in reactor.connections[vm]: for conn in reactor.connections[vm]:
if command == 'append' and 'vio-cloud' not in conn.transport.addr:
continue
logger.info('%s(%s, %s)', command, vm, logger.info('%s(%s, %s)', command, vm,
', '.join(map(lambda x: str(x)[:100], kwargs.values()))) ', '.join(map(lambda x: str(x)[:100], kwargs.values())))
conn.send_command(command=command, args=kwargs) conn.send_command(command=command, args=kwargs)
......
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 sign in to comment