You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
_is_official_alert_rule_format(rule_file)
raises an uncaught TypeError: argument of type 'NoneType' is not iterable
when loki_alert_rules is an empty file.
Is that a valid 'rules' file to begin with?
Either way, looks like we should return list() in _from_file even if the file is invalid/empty.
The text was updated successfully, but these errors were encountered:
_is_official_alert_rule_format(rule_file)
raises an uncaught
TypeError: argument of type 'NoneType' is not iterable
when loki_alert_rules is an empty file.
Is that a valid 'rules' file to begin with?
Either way, looks like we should return
list()
in_from_file
even if the file is invalid/empty.The text was updated successfully, but these errors were encountered: