aboutsummaryrefslogtreecommitdiff
path: root/middleware/file/notify.go
diff options
context:
space:
mode:
Diffstat (limited to 'middleware/file/notify.go')
-rw-r--r--middleware/file/notify.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/middleware/file/notify.go b/middleware/file/notify.go
index b369f6ad1..8a2581b84 100644
--- a/middleware/file/notify.go
+++ b/middleware/file/notify.go
@@ -30,7 +30,7 @@ func (z *Zone) isNotify(state middleware.State) bool {
// Notify will send notifies to all configured TransferTo IP addresses.
func (z *Zone) Notify() {
- go notify(z.name, z.TransferTo)
+ go notify(z.origin, z.TransferTo)
}
// notify sends notifies to the configured remote servers. It will try up to three times