mirror of
https://github.com/k8snetworkplumbingwg/multus-cni.git
synced 2026-03-18 10:56:22 +00:00
Simplify setup by moving the post-creation operations like GenerateConfig() and PersistMultusConfig() into a new Start() function that also begins watching the configuration directory. This better encapsulates the manager functionality in the object. We can also get rid of the done channel passed to the config manager and just use the existing WaitGroup to determine when to exit the daemon main(). Signed-off-by: Dan Williams <dcbw@redhat.com>