aboutsummaryrefslogtreecommitdiff
path: root/coremain/run.go
diff options
context:
space:
mode:
authorGravatar Francois Tur <ftur@infoblox.com> 2019-03-07 15:05:19 -0500
committerGravatar Miek Gieben <miek@miek.nl> 2019-03-07 20:05:19 +0000
commit97e2a53a650b7eb41b86874285e300f52a9122eb (patch)
tree0ff201d5be518e0e7f2d2d13b603aec3563cbc73 /coremain/run.go
parent9dd288943a778c19d5a798e1c1535cd0ba5d53c0 (diff)
downloadcoredns-97e2a53a650b7eb41b86874285e300f52a9122eb.tar.gz
coredns-97e2a53a650b7eb41b86874285e300f52a9122eb.tar.zst
coredns-97e2a53a650b7eb41b86874285e300f52a9122eb.zip
- remove caddy event, It is now triggered directly by Caddy in the Start function of the Instance (#2656)
Diffstat (limited to '')
-rw-r--r--coremain/run.go3
1 files changed, 0 insertions, 3 deletions
diff --git a/coremain/run.go b/coremain/run.go
index 6a8ff055b..1c7e475ee 100644
--- a/coremain/run.go
+++ b/coremain/run.go
@@ -95,9 +95,6 @@ func Run() {
showVersion()
}
- // Execute instantiation events
- caddy.EmitEvent(caddy.InstanceStartupEvent, instance)
-
// Twiddle your thumbs
instance.Wait()
}