From 8e561aa6acdae5916bd35a932e7a282ebc379757 Mon Sep 17 00:00:00 2001 From: jitendra-kushavah Date: Thu, 20 Nov 2025 05:11:21 +0000 Subject: [PATCH] Modified the query parameter in the save_crashlogs_to_pstore Signed-off-by: jitendra-kushavah --- lf_libs/lf_tests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lf_libs/lf_tests.py b/lf_libs/lf_tests.py index 8c309041..e7d2d69a 100644 --- a/lf_libs/lf_tests.py +++ b/lf_libs/lf_tests.py @@ -4296,7 +4296,7 @@ class lf_tests(lf_libs): device_name = get_testbed_details["device_under_tests"][0]["identifier"] # Check reboot logs # 0=any kind of logs (default) 0=normal logs, 1=crash logs, 2=reboot logs only - query_ = f"?logType=2&startDate={start_time}&endDate={end_time}" + query_ = f"?logType=2&startDate={start_time}&endDate={end_time}&newest=true" resp = get_target_object.controller_library_object.get_device_reboot_logs(device_name, query=query_) if resp.status_code == 200: