Commit e8a4040b by e0d

adding comment

parent 815653c6
...@@ -77,6 +77,8 @@ class LifecycleHandler: ...@@ -77,6 +77,8 @@ class LifecycleHandler:
instance=instance_id)) instance=instance_id))
self.record_lifecycle_action_heartbeat(asg, token,self.hook) self.record_lifecycle_action_heartbeat(asg, token,self.hook)
# These notifications are send when configuring a new lifecycle hook, they can be
# deleted safely
elif as_message['Event'] == self.TEST_NOTIFICATION: elif as_message['Event'] == self.TEST_NOTIFICATION:
if not self.dry_run: if not self.dry_run:
logging.info("Deleting message with body {message}".format(message=as_message)) logging.info("Deleting message with body {message}".format(message=as_message))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment