Branch: refs/heads/master
Home:
https://github.com/Checkmk/checkmk
Commit: 006e80569da8e87527adcf10220e3a2a8b051a2f
https://github.com/Checkmk/checkmk/commit/006e80569da8e87527adcf10220e3a2a8…
Author: Sven Panne <sven.panne(a)checkmk.com>
Date: 2024-10-18 (Fri, 18 Oct 2024)
Changed paths:
M packages/livestatus/src/TableStateHistory.cc
Log Message:
-----------
Move some code before the switch into each branch
The goal is to remove the multiple dispatches on LogEntry::kind().
Various simplifications are possible, we will do these in an upcoming
commit, this one here is clearly mechanical and already big enough.
Change-Id: I9ca7979292959c6a8cc8584755b006034f157de5
Commit: 2fcf724872058ce1b658c229bee05dac59b6670a
https://github.com/Checkmk/checkmk/commit/2fcf724872058ce1b658c229bee05dac5…
Author: Sven Panne <sven.panne(a)checkmk.com>
Date: 2024-10-18 (Fri, 18 Oct 2024)
Changed paths:
M packages/livestatus/src/TableStateHistory.cc
Log Message:
-----------
Simplified various conditions
Change-Id: I381c038bb8ff12222fa86afe928485df4f395df2
Commit: 78679ebc5ad8078309561eefffe4d0e1f1eed29b
https://github.com/Checkmk/checkmk/commit/78679ebc5ad8078309561eefffe4d0e1f…
Author: Sven Panne <sven.panne(a)checkmk.com>
Date: 2024-10-18 (Fri, 18 Oct 2024)
Changed paths:
M packages/livestatus/src/TableStateHistory.cc
Log Message:
-----------
Removed yet another dispatch on LogEntry::kind()
Done mechanically by expanding 2 switch branches and simplifying conditions
afterwards.
Change-Id: Ide76edde945515cd1a73d40e86c325c98e147710
Commit: 3a55295159502a1c7034d0f095ce3a0afd054433
https://github.com/Checkmk/checkmk/commit/3a55295159502a1c7034d0f095ce3a0af…
Author: Sven Panne <sven.panne(a)checkmk.com>
Date: 2024-10-18 (Fri, 18 Oct 2024)
Changed paths:
M packages/livestatus/src/TableStateHistory.cc
Log Message:
-----------
Simplify and unify state machine transitions
Change-Id: Iba093054d04deb50063d0c12532d10fda30a35d8
Commit: 0f828f31976a035de4234f6ca12ac39b6f256922
https://github.com/Checkmk/checkmk/commit/0f828f31976a035de4234f6ca12ac39b6…
Author: Sven Panne <sven.panne(a)checkmk.com>
Date: 2024-10-18 (Fri, 18 Oct 2024)
Changed paths:
M packages/livestatus/src/TableStateHistory.cc
Log Message:
-----------
Extracted condition into callee
Now we have a more or less straightforward dispatching loop.
Change-Id: I66c516130fbd904a1e4e4da03093c17f7169bafc
Compare:
https://github.com/Checkmk/checkmk/compare/0b6bad997a97...0f828f31976a
To unsubscribe from these emails, change your notification settings at
https://github.com/Checkmk/checkmk/settings/notifications