zuul/web
Ian Wienand 5688c782a0 web: remove optional match on systemd regex
Having an optional match on the STATUSFMT means that the
SYSTEMD_LOGMATCH regex might match, but the m[7] value, which is
looked up in the severityMap, might not exist.

Javascript's behaviour when looking up a value that doesn't exist is
to set it to "undefined", hence sev can get that value here.  This has
come to light because Ibcbc2bd9497f1d8b75acd9e4979a289173d014b2 has
(unintentaionlly) modified the log viewer page to check if it should
display the line with

 (line.severity >= severity)

So while "null" as a severity displays, "undefined" does not.

Change-Id: I66f96f6991ed0f8af1bb4c43d73fbd5163f9be42
2020-11-19 10:19:01 +11:00
..
public Support dynamic badges 2020-05-21 06:57:19 +00:00
src web: remove optional match on systemd regex 2020-11-19 10:19:01 +11:00
.eslintrc Configure redux for development 2020-10-14 08:20:50 +02:00
package.json Merge "JS: Don't run tests in watch mode" 2020-11-18 00:24:12 +00:00
yarn.lock Merge "PF4: Rework of log viewer page" 2020-11-16 02:31:39 +00:00