Merge pull request #45769 from Zero-Down-Time/develop

Surpress boto WARNING during SQS msg decode in sqs_engine
This commit is contained in:
Nicole Thomas 2018-02-15 14:14:31 -05:00 committed by GitHub
commit c02cb3394c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -167,4 +167,6 @@ def start(queue, profile=None, tag='salt/engine/sqs', owner_acct_id=None):
while True:
if not q:
q = sqs.get_queue(queue, owner_acct_id=owner_acct_id)
q.set_message_class(boto.sqs.message.RawMessage)
_process_queue(q, queue, fire_master, tag=tag, owner_acct_id=owner_acct_id, message_format=message_format)