Skip to content

Commit

Permalink
Fix termination bug
Browse files Browse the repository at this point in the history
  • Loading branch information
nathandf committed Nov 7, 2024
1 parent d83e6af commit b121edf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api/src/backend/views/PipelineRuns.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def post(self, request, group_id, pipeline_id, pipeline_run_uuid):
pipeline_run = PipelineRun.objects.filter(
pipeline=pipeline,
uuid=pipeline_run_uuid
).next()
).first()

if not pipeline_run:
return BadRequest(f"PiplineRun with uuid '{pipeline_run_uuid}' does not exist")
Expand Down

0 comments on commit b121edf

Please sign in to comment.