diff options
author | 2017-09-22 16:13:04 -0700 | |
---|---|---|
committer | 2017-09-22 16:13:04 -0700 | |
commit | 387ceb480bf6303cdc3d2677c07e44204ea47419 (patch) | |
tree | 47400ceaece2077ce724da910846d61c68b90825 /plugin/file/file.go | |
parent | 6f19dda0b452c1c51329ec7829b8af7cdf30e34e (diff) | |
download | coredns-387ceb480bf6303cdc3d2677c07e44204ea47419.tar.gz coredns-387ceb480bf6303cdc3d2677c07e44204ea47419.tar.zst coredns-387ceb480bf6303cdc3d2677c07e44204ea47419.zip |
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>
Diffstat (limited to 'plugin/file/file.go')
-rw-r--r-- | plugin/file/file.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/file/file.go b/plugin/file/file.go index 3f6ae8acf..6fb2e42fb 100644 --- a/plugin/file/file.go +++ b/plugin/file/file.go @@ -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. |