diff options
author | 2017-08-04 09:46:40 -0700 | |
---|---|---|
committer | 2017-08-04 09:46:40 -0700 | |
commit | 7ca018374f7c2249fe2ab89f2840dd6154a5cf71 (patch) | |
tree | bd84b656df8e9e132c2f22cb5ceaf97a3ab611c4 /middleware/file/zone.go | |
parent | c08497adeea1eb03b84e11c25e6e1b0b41348a7c (diff) | |
download | coredns-7ca018374f7c2249fe2ab89f2840dd6154a5cf71.tar.gz coredns-7ca018374f7c2249fe2ab89f2840dd6154a5cf71.tar.zst coredns-7ca018374f7c2249fe2ab89f2840dd6154a5cf71.zip |
golint cleanup (#828)
Clean up some golint related issues.
Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
Diffstat (limited to 'middleware/file/zone.go')
-rw-r--r-- | middleware/file/zone.go | 1 |
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 |