projects
/
awsible
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0180483
)
delete queue messages for which there was no playbook
author
Justin Wind
<j.wind@partner.samsung.com>
Fri, 10 Mar 2017 17:44:46 +0000
(09:44 -0800)
committer
Justin Wind
<j.wind@partner.samsung.com>
Fri, 10 Mar 2017 17:44:46 +0000
(09:44 -0800)
sqs-action.py
patch
|
blob
|
history
diff --git
a/sqs-action.py
b/sqs-action.py
index f092fd76b99dcb8d8c43abcf647933fee61bea5d..a71d01d003620f8817793737bf6372d61758728c 100755
(executable)
--- a/
sqs-action.py
+++ b/
sqs-action.py
@@
-43,6
+43,7
@@
def handleEvent(message, event, ASGName, InstanceId):
message.delete()
else:
notice += ['no action taken: no playbook for this ASG']
+ message.delete()
notify(notice[0], '\n'.join(notice))