Add wording for control message log

This commit is contained in:
AlanCoding
2020-02-11 10:01:25 -05:00
parent efa9c84806
commit e59cb07064

View File

@@ -61,7 +61,7 @@ class AWXConsumer(ConsumerMixin):
]) ])
def control(self, body, message): def control(self, body, message):
logger.warn(body) logger.warn('Consumer received control message {}'.format(body))
control = body.get('control') control = body.get('control')
if control in ('status', 'running'): if control in ('status', 'running'):
producer = Producer( producer = Producer(