Skip to content

Commit

Permalink
Add custom prefix to analysis schedule filter
Browse files Browse the repository at this point in the history
  • Loading branch information
hellais committed Sep 10, 2024
1 parent 78484a0 commit 7a8e9d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion oonipipeline/src/oonipipeline/temporal/schedules.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ async def list_existing_schedules(
f"{custom_prefix}{OBSERVATIONS_SCHED_PREFIX}-{filter_id}"
):
schedule_id_map_list.observations.append(sched.id)
elif sched.id.startswith(f"{ANALYSIS_SCHED_PREFIX}-{filter_id}"):
elif sched.id.startswith(f"{custom_prefix}{ANALYSIS_SCHED_PREFIX}-{filter_id}"):
schedule_id_map_list.analysis.append(sched.id)

return schedule_id_map_list
Expand Down

0 comments on commit 7a8e9d4

Please sign in to comment.