Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/writer_eventbridge.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ def init(logger, CONFIG):
_logger.debug("Initialized EVENTBRIDGE writer")

def write(topicName, message):
if not aws_eventbridge:
if not EVENT_BUS_ARN:
_logger.debug("No EventBus Arn - skipping")
return True

Expand Down
2 changes: 1 addition & 1 deletion src/writer_postgres.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ def postgres_run_write(cursor, table_runs, table_jobs, message):
def write(topicName, message):
try:
if not POSTGRES["database"]:
_logger.debug("No Postgress - skipping")
_logger.debug("No Postgres - skipping")
return

with psycopg2.connect(
Expand Down