chore: ensure config is loaded before init functions (#226)

This commit is contained in:
Aveline
2025-03-04 11:32:54 +01:00
committed by GitHub
parent d4efd72731
commit 554121a20b
5 changed files with 16 additions and 0 deletions

View File

@@ -190,6 +190,8 @@ func getNTPServersFromDHCPInfo() ([]string, error) {
}
func init() {
ensureConfigLoaded()
updates := make(chan netlink.LinkUpdate)
done := make(chan struct{})