From 0aca5631dc899ebc9252d82776f506a6bd5900a1 Mon Sep 17 00:00:00 2001 From: Nathan Freeman Date: Tue, 14 May 2024 11:59:33 -0500 Subject: [PATCH] Typo --- src/api/src/backend/views/PipelineLocks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api/src/backend/views/PipelineLocks.py b/src/api/src/backend/views/PipelineLocks.py index 724c7fe9..c8d150d6 100644 --- a/src/api/src/backend/views/PipelineLocks.py +++ b/src/api/src/backend/views/PipelineLocks.py @@ -104,7 +104,7 @@ def post(self, request, group_id, pipeline_id): # pipeline lock's 'acquired_at' property if str(pipeline_lock.pipeline_run.uuid) == str(competing_runs[0].uuid): acquired_at = timezone.now() - pipeline_lock = PipelineLocks.objects.filter( + pipeline_lock = PipelineLock.objects.filter( uuid=pipeline_lock.uuid ).update(acquired_at=acquired_at)