mirror of
https://github.com/coredns/coredns.git
synced 2025-10-27 08:14:18 -04:00
go lint/vet/misspell cleanup (#1105)
This fix address several issues related to golint/vet/misspell. Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
This commit is contained in:
@@ -113,7 +113,7 @@ type serialErr struct {
|
||||
}
|
||||
|
||||
func (s *serialErr) Error() string {
|
||||
return fmt.Sprintf("%s for origin %s in file %s, with serial %d", s.err, s.zone, s.serial)
|
||||
return fmt.Sprintf("%s for origin %s in file %s, with serial %d", s.err, s.origin, s.zone, s.serial)
|
||||
}
|
||||
|
||||
// Parse parses the zone in filename and returns a new Zone or an error.
|
||||
|
||||
Reference in New Issue
Block a user