mirror of
https://github.com/luckfox-eng29/kvm.git
synced 2026-01-18 03:28:19 +01:00
chore: ensure config is loaded before init functions (#226)
This commit is contained in:
@@ -190,6 +190,8 @@ func getNTPServersFromDHCPInfo() ([]string, error) {
|
||||
}
|
||||
|
||||
func init() {
|
||||
ensureConfigLoaded()
|
||||
|
||||
updates := make(chan netlink.LinkUpdate)
|
||||
done := make(chan struct{})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user