mirror of
https://github.com/kubereboot/kured.git
synced 2026-03-04 09:50:19 +00:00
Without this patch, we rely on global state in many functions for which we check the reboot blockers. This is a problem, as it's harder to test. This patch fixes it by refactoring the reboot blockers. This also includes a first series of unit tests for our main.