Loading src/notify.py 0 → 100644 +14 −0 Original line number Diff line number Diff line from utils import check_urls def handler(event, context): # pylint: disable=unused-argument """Lambda event handler.""" checks = [ {"url": "http://notify.shore.co.il/", "codes": [301, 302]}, {"url": "https://notify.shore.co.il/ping"}, ] check_urls(checks) if __name__ == "__main__": handler("event", "context") Loading
src/notify.py 0 → 100644 +14 −0 Original line number Diff line number Diff line from utils import check_urls def handler(event, context): # pylint: disable=unused-argument """Lambda event handler.""" checks = [ {"url": "http://notify.shore.co.il/", "codes": [301, 302]}, {"url": "https://notify.shore.co.il/ping"}, ] check_urls(checks) if __name__ == "__main__": handler("event", "context")