From 2fd1a844c88c7943553b690dac6079d36d245b9f Mon Sep 17 00:00:00 2001 From: Guillaume Thibault Date: Tue, 16 Apr 2024 14:37:03 -0400 Subject: [PATCH] [fix-testId-not-found] fix: snake_case | att not found --- captain/routes/cloud.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/captain/routes/cloud.py b/captain/routes/cloud.py index 7a4ec8091..548f19040 100644 --- a/captain/routes/cloud.py +++ b/captain/routes/cloud.py @@ -177,9 +177,9 @@ def make_payload(data: MeasurementData): def get_measurement(m: Measurement) -> MeasurementData: - data = test_sequencer._get_most_recent_data(m.testId) + data = test_sequencer._get_most_recent_data(m.test_id) if not isinstance(data, MeasurementData): - logging.info(f"{m.testId}: Unexpected data type for test data: {type(data)}") + logging.info(f"{m.test_id}: Unexpected data type for test data: {type(data)}") data = m.pass_ return data