Commit f8c53b16 authored by nimrod's avatar nimrod
Browse files

Check notify.shore.co.il.

parent 69ad28a2
Loading
Loading
Loading
Loading
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")