aboutsummaryrefslogtreecommitdiff
path: root/plugin/file/secondary.go
diff options
context:
space:
mode:
authorGravatar Hu Shuai <hus.fnst@cn.fujitsu.com> 2020-09-01 15:10:45 +0800
committerGravatar GitHub <noreply@github.com> 2020-09-01 09:10:45 +0200
commite233f59ee8fa3ea7e3a965ba66241dd65465926a (patch)
tree72d2e9b7f6dde9c6fee4a2659656233f9af984a3 /plugin/file/secondary.go
parent9e4a177d9f422583e68ade2404e598827b091263 (diff)
downloadcoredns-e233f59ee8fa3ea7e3a965ba66241dd65465926a.tar.gz
coredns-e233f59ee8fa3ea7e3a965ba66241dd65465926a.tar.zst
coredns-e233f59ee8fa3ea7e3a965ba66241dd65465926a.zip
Fix some typos in comments. (#4100)
Signed-off-by: Hu Shuai <hus.fnst@cn.fujitsu.com>
Diffstat (limited to 'plugin/file/secondary.go')
-rw-r--r--plugin/file/secondary.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/file/secondary.go b/plugin/file/secondary.go
index 6cb571fe5..160d8e013 100644
--- a/plugin/file/secondary.go
+++ b/plugin/file/secondary.go
@@ -95,7 +95,7 @@ Transfer:
return less(z.Apex.SOA.Serial, uint32(serial)), Err
}
-// less return true of a is smaller than b when taking RFC 1982 serial arithmetic into account.
+// less returns true of a is smaller than b when taking RFC 1982 serial arithmetic into account.
func less(a, b uint32) bool {
if a < b {
return (b - a) <= MaxSerialIncrement