mirror of
https://github.com/coredns/coredns.git
synced 2025-10-27 16:24:19 -04:00
Emit InstanceStartupEvent after starting server (#1410)
This commit is contained in:
committed by
Miek Gieben
parent
4f54bd9e52
commit
d4bf076ccf
@@ -98,6 +98,9 @@ func Run() {
|
|||||||
showVersion()
|
showVersion()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Execute instantiation events
|
||||||
|
caddy.EmitEvent(caddy.InstanceStartupEvent, instance)
|
||||||
|
|
||||||
// Twiddle your thumbs
|
// Twiddle your thumbs
|
||||||
instance.Wait()
|
instance.Wait()
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user