fix bug: invalid log type

Change-Id: I240cd93bf6ed90ef9ec952dc68d7ed96c4dafd14
This commit is contained in:
inspurericzhang 2024-01-04 02:10:34 +00:00
parent b62f9dad83
commit 659d24c5f1

View File

@ -81,7 +81,7 @@ class AnomalyDetectTask(object):
context = ""
if log_type == "flog":
context = log["desc"]
elif log_type == "flog":
elif log_type == "slog":
context = log["programname"]
else:
pass