mirror of
https://codeberg.org/cunicu/cunicu.git
synced 2026-04-23 23:59:53 +08:00
config: add reload, watch and change detection logic
Signed-off-by: Steffen Vogel <post@steffenvogel.de>
This commit is contained in:
@@ -8,6 +8,9 @@ import (
|
||||
|
||||
var _ = Context("default", func() {
|
||||
It("has a default hostname", func() {
|
||||
err := config.InitDefaults()
|
||||
Expect(err).To(Succeed())
|
||||
|
||||
Expect(config.DefaultInterfaceSettings.PeerDisc.Hostname).NotTo(BeEmpty())
|
||||
})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user