Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: prevent crash in machined on apid service stop
On reboots, when `apid` is stopped, `PostFunc()` is called, but `o.cancel` is only initialized for worker nodes, so it leads to `init` panic on master nodes. Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>
- Loading branch information