!1404 loadtask:fixup syntax error

* loadtask:fixup syntax error
This commit is contained in:
zhaohang 2024-03-04 03:47:29 +00:00
parent 716ad0e046
commit bebcc50da8
1 changed files with 2 additions and 2 deletions

View File

@ -178,9 +178,9 @@ def parse_log(file):
if int(float(count["uninterrupt tasks"])) >= 5: if int(float(count["uninterrupt tasks"])) >= 5:
new_parse_data["summary"]["suggestion"] = "D task counts is more than 5,please analyse calltrace of tasks by D task pie chart" new_parse_data["summary"]["suggestion"] = "D task counts is more than 5,please analyse calltrace of tasks by D task pie chart"
if reason["sys"] == "false" and reason["irq"] == "false" and reason["softirq"] == "false" and reason["io"] == "false" if reason["sys"] == "false" and reason["irq"] == "false" and reason["softirq"] == "false" and reason["io"] == "false":
new_parse_data["summary"]["status"] = "normal" new_parse_data["summary"]["status"] = "normal"
else else:
new_parse_data["summary"]["status"] = "warning" new_parse_data["summary"]["status"] = "warning"
new_parse_data["summary"]["cause"] = "Load Influences Result:"+"sys utils" + sys_summary + \ new_parse_data["summary"]["cause"] = "Load Influences Result:"+"sys utils" + sys_summary + \