amargherio / mechanic

An AKS node monitor for planned maintenance events
Apache License 2.0
0 stars 1 forks source link

Improve state handling #15

Open amargherio opened 2 weeks ago

amargherio commented 2 weeks ago

The current method where everything that can update state values returns the boolean and main is the place where state is managed feels a bit unnecessary and it prevents us from consistently passing the state around where it would be useful to have.