From a90845047c84cdf37bcd7241652828756f7aba20 Mon Sep 17 00:00:00 2001 From: Clement Rey Date: Wed, 8 Jan 2025 15:20:14 +0100 Subject: [PATCH] fix(agent): remove unused task_id variable and trailing whitespace --- source/compute_plane/python/agent/agent.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/source/compute_plane/python/agent/agent.py b/source/compute_plane/python/agent/agent.py index 6c650293..fbf957a8 100644 --- a/source/compute_plane/python/agent/agent.py +++ b/source/compute_plane/python/agent/agent.py @@ -1,4 +1,4 @@ -# Copyright 2024 Amazon.com, Inc. or its affiliates. +# Copyright 2024 Amazon.com, Inc. or its affiliates. # SPDX-License-Identifier: Apache-2.0 # Licensed under the Apache License, Version 2.0 https://aws.amazon.com/apache-2-0/ @@ -638,7 +638,6 @@ async def run_task(task, sqs_msg): task_def = json.loads(tast_str) submit_pre_agent_measurements(task) - task_id = task["task_id"] xray_recorder.end_subsegment() execution_is_completed_flag = 0