Branch: refs/heads/master
Home:
https://github.com/tribe29/checkmk
Commit: c4de7ed089c4dc694b4d5e5b2407fba2a4f8c65b
https://github.com/tribe29/checkmk/commit/c4de7ed089c4dc694b4d5e5b2407fba2a…
Author: Mathias Laurin <mathias.laurin(a)tribe29.com>
Date: 2020-12-22 (Tue, 22 Dec 2020)
Changed paths:
M cmk/core_helpers/agent.py
Log Message:
-----------
Rename PiggybackSectionParser -> PiggybackParser
We do the renaming in the FSM of the agent parser. Indeed, we
should reserve the name "sections" for the lines delimited by
`<<<>>>`. The (now) PiggybackParser is framed in
`<<<<>>>>` and may
*contain* actual sections.
Eventually we could have another PiggybackSectionParser such that
PiggybackParser -> PiggybackSectionParser: line has <<<[..]>>>
PiggybackSectionParser -> PiggybackSectionParser: line has
<<<[..]>>>
PiggybackSectionParser -> PiggybackParser: line has <<<>>>
and maybe
PiggybackSectionParser -> NOOPState: line has <<<<>>>>
if closing the section with <<<>>> is not required.
Change-Id: I6538e72dbaf6d617a97a9c69b226305ebf528fab