atlasbot: fix hottest line parsing
This commit is contained in:
parent
174324824d
commit
93532c2622
@ -1003,7 +1003,7 @@ def _expand_hottest_line(line: str) -> list[str]:
|
|||||||
continue
|
continue
|
||||||
metric, rest = part.split("=", 1)
|
metric, rest = part.split("=", 1)
|
||||||
metric = metric.strip()
|
metric = metric.strip()
|
||||||
match = re.search(r"(?P<node>[^\\s\\[]+).*\\((?P<value>[^)]+)\\)", rest)
|
match = re.search(r"(?P<node>[^\s\[]+).*\((?P<value>[^)]+)\)", rest)
|
||||||
if not match:
|
if not match:
|
||||||
continue
|
continue
|
||||||
node = match.group("node").strip()
|
node = match.group("node").strip()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user