mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-05-02 23:31:25 -07:00
E501 fixes (#22879)
This commit is contained in:
parent
4fdeade389
commit
3164e8b561
215 changed files with 1328 additions and 761 deletions
|
@ -203,7 +203,8 @@ def main():
|
|||
if not message_structure=='string' and message_attributes:
|
||||
module.fail_json(msg="when specifying message_attributes, the message_structure must be set to 'string'; otherwise the attributes will not be sent.")
|
||||
elif message_structure=='string' and (email or sqs or sms or http or https):
|
||||
module.fail_json(msg="do not specify non-default message formats when using the 'string' message_structure. they can only be used with the 'json' message_structure.")
|
||||
module.fail_json(msg="do not specify non-default message formats when using the 'string' message_structure. they can only be used with "
|
||||
"the 'json' message_structure.")
|
||||
|
||||
# .publish() takes full ARN topic id, but I'm lazy and type shortnames
|
||||
# so do a lookup (topics cannot contain ':', so thats the decider)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue