Skip to content

Commit

Permalink
fix lambda signatures (#43)
Browse files Browse the repository at this point in the history
  • Loading branch information
morsecodist authored Feb 3, 2022
1 parent 747d232 commit 3cd7125
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
1 change: 1 addition & 0 deletions .github/workflows/sfn-wdl-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ jobs:
docker build --cache-from ghcr.io/chanzuckerberg/swipe:latest -t ghcr.io/chanzuckerberg/swipe:$(cat version) .
docker-compose pull
docker-compose up &
sleep 1
make deploy-mock test
terraform_format:
Expand Down
8 changes: 4 additions & 4 deletions terraform/modules/sfn-io-helper-lambdas/app/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,21 +79,21 @@ def handle_failure(sfn_data, _):
raise failure_type(cause)


def process_batch_event(event):
def process_batch_event(event, _):
reporting.emit_batch_metric_values(event)


def process_sfn_event(event):
def process_sfn_event(event, _):
execution_arn = event.detail["executionArn"]
if os.environ["APP_NAME"] in execution_arn:
batch_events.archive_sfn_history(execution_arn)

reporting.emit_sfn_metric_values(event)


def report_metrics(event):
def report_metrics(_, __):
reporting.emit_periodic_metrics()


def report_spot_interruption(event):
def report_spot_interruption(event, _):
reporting.emit_spot_interruption_metric(event)
Binary file not shown.
2 changes: 1 addition & 1 deletion version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v0.14.0-beta
v0.15.0-beta

0 comments on commit 3cd7125

Please sign in to comment.