fix(hermes): repair sonar/atlasbot/python:S1192/AZ2y3T38Ky9i4pkIpSiU #6

Open
bstein wants to merge 1 commits from hermes-repair/sonar-AZ2y3T38Ky9i4pkIpSiU into main
Showing only changes of commit 1c9cdde1d2 - Show all commits

View File

@ -72,8 +72,11 @@ def _spine_lines(lines: list[str]) -> dict[str, str]:
return spine
_NODES_PREFIX = "nodes:"
def _spine_nodes(lines: list[str], spine: dict[str, str]) -> None:
nodes_line = _line_starting_with(lines, "nodes:")
nodes_line = _line_starting_with(lines, _NODES_PREFIX)
if nodes_line:
spine["nodes_count"] = nodes_line
spine["nodes_ready"] = nodes_line