Modified delete_query parameter

Signed-off-by: jitendra-kushavah <jitendra.kushavah@candelatech.com>
This commit is contained in:
jitendra-kushavah
2025-11-20 09:43:51 +00:00
parent 626f23d43d
commit 22beb65bbc

View File

@@ -4297,7 +4297,7 @@ class lf_tests(lf_libs):
# 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}&newest=true"
delete_query = f"?logType=2&startDate={start_time}&endDate={end_time}"
delete_query = f"?endDate={end_time}&logType=2"
resp = get_target_object.controller_library_object.get_device_reboot_logs(device_name, query=query_)
if resp.status_code == 200: