Skip to content

Commit

Permalink
Use the correct object in filtering logic
Browse files Browse the repository at this point in the history
  • Loading branch information
sgibson91 committed Dec 19, 2024
1 parent 965dfc5 commit c905254
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deploy-hubs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -329,14 +329,14 @@ jobs:
filtered_staging_jobs = [
staging_job
for staging_job in staging_jobs
if f"failure_{staging_job['cluster_name'].replace('.', '-')}" in staging_jobs.keys()
if f"failure_{staging_job['cluster_name'].replace('.', '-')}" in outputs.keys()
and outputs[f"failure_{staging_job['cluster_name'].replace('.', '-')}"] != "true"
]
filtered_prod_jobs = [
prod_job
for prod_job in prod_jobs
if f"failure_{staging_job['cluster_name'].replace('.', '-')}" in staging_jobs.keys()
if f"failure_{staging_job['cluster_name'].replace('.', '-')}" in outputs.keys()
and outputs[f"failure_{prod_job['cluster_name'].replace('.', '-')}"] != "true"
]
except KeyError as ke:
Expand Down

0 comments on commit c905254

Please sign in to comment.