Commit cadb5b59 authored by Swann Perarnau's avatar Swann Perarnau Committed by Valentin Reis

[fix] bad argument check when used with container

The option is called uuid, not container
parent af621b32
...@@ -61,7 +61,7 @@ class CommandLineInterface(object): ...@@ -61,7 +61,7 @@ class CommandLineInterface(object):
msg = self.pub_client.recvmsg() msg = self.pub_client.recvmsg()
if argv.uuid: if argv.uuid:
uuid = getattr(msg, 'container_uuid', None) uuid = getattr(msg, 'container_uuid', None)
if argv.container == uuid: if argv.uuid == uuid:
logger.info("pub message", msg) logger.info("pub message", msg)
else: else:
logger.info("pub message", msg) logger.info("pub message", msg)
......
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