aboutsummaryrefslogtreecommitdiff
path: root/middleware/file/zone.go
diff options
context:
space:
mode:
Diffstat (limited to 'middleware/file/zone.go')
-rw-r--r--middleware/file/zone.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/middleware/file/zone.go b/middleware/file/zone.go
index a216f8af8..3f3bcf0f7 100644
--- a/middleware/file/zone.go
+++ b/middleware/file/zone.go
@@ -56,6 +56,7 @@ func NewZone(name, file string) *Zone {
return z
}
+// Copy copies a zone.
func (z *Zone) Copy() *Zone {
z1 := NewZone(z.origin, z.file)
z1.TransferTo = z.TransferTo