Skip to content

Commit

Permalink
[fix-testId-not-found] fix: snake_case | att not found (#1157)
Browse files Browse the repository at this point in the history
Co-authored-by: Jeff Zhang <[email protected]>
  • Loading branch information
LatentDream and 39bytes authored Apr 16, 2024
1 parent 772f10a commit b5a7465
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions captain/routes/cloud.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit b5a7465

Please sign in to comment.