Confirm that there were events returned from SCL
All checks were successful
ci/woodpecker/push/lint Pipeline was successful
All checks were successful
ci/woodpecker/push/lint Pipeline was successful
This commit is contained in:
parent
27a4eb55f5
commit
f290908ccb
1 changed files with 1 additions and 1 deletions
2
scl.py
2
scl.py
|
@ -416,7 +416,7 @@ with Session(engine) as session:
|
||||||
for active_outage in session.scalars(lookup_active_outages_statement):
|
for active_outage in session.scalars(lookup_active_outages_statement):
|
||||||
if (
|
if (
|
||||||
not any(event["id"] == active_outage.scl_outage_id for event in scl_events)
|
not any(event["id"] == active_outage.scl_outage_id for event in scl_events)
|
||||||
and event
|
and scl_events
|
||||||
):
|
):
|
||||||
# Event ID no longer exists in response
|
# Event ID no longer exists in response
|
||||||
if active_outage.most_recent_post_id:
|
if active_outage.most_recent_post_id:
|
||||||
|
|
Loading…
Reference in a new issue