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:
Yong Tang
2017-09-22 16:13:04 -07:00
committed by GitHub
parent 6f19dda0b4
commit 387ceb480b
5 changed files with 6 additions and 12 deletions

View File

@@ -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.