diff --git a/handler.py b/handler.py index a963db6..3426644 100644 --- a/handler.py +++ b/handler.py @@ -131,7 +131,7 @@ def report(self, result): print(f"Failed to publish metrics to CloudWatch:{e}") -def port_check(event, context): +def lambda_handler(event, context): """Lambda function handler""" config = Config(event)