Skip to content

Commit

Permalink
indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
alexboden committed Nov 22, 2024
1 parent 239b195 commit dc633ca
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -168,10 +168,10 @@ def allocate_actions_runner(job_id, token):

allocated_jobs[job_id] = RunningJob(job_id, None, data['workflow_name'], data['name'], labels)

if "slurm-runner" not in labels[0]:
logger.info(f"Skipping job because it is not for the correct runner. labels: {labels}, labels[0]: {labels[0]}")
del allocated_jobs[job_id]
return
if "slurm-runner" not in labels[0]:
logger.info(f"Skipping job because it is not for the correct runner. labels: {labels}, labels[0]: {labels[0]}")
del allocated_jobs[job_id]
return

runner_size_label = labels[0]

Expand Down

0 comments on commit dc633ca

Please sign in to comment.