mirror of
https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
synced 2025-12-17 19:07:06 +00:00
Modified delete_query parameter
Signed-off-by: jitendra-kushavah <jitendra.kushavah@candelatech.com>
This commit is contained in:
@@ -4297,7 +4297,7 @@ class lf_tests(lf_libs):
|
|||||||
# Check reboot logs
|
# Check reboot logs
|
||||||
# 0=any kind of logs (default) 0=normal logs, 1=crash logs, 2=reboot logs only
|
# 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"
|
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_)
|
resp = get_target_object.controller_library_object.get_device_reboot_logs(device_name, query=query_)
|
||||||
if resp.status_code == 200:
|
if resp.status_code == 200:
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user