mirror of
https://github.com/coredns/coredns.git
synced 2025-11-01 02:33:14 -04:00
golint cleanup (#828)
Clean up some golint related issues. Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user