Add wording for control message log

This commit is contained in:
AlanCoding 2020-02-11 10:01:25 -05:00
parent efa9c84806
commit e59cb07064
No known key found for this signature in database
GPG Key ID: FD2C3C012A72926B

View File

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