diff options
author | 2020-09-01 15:10:45 +0800 | |
---|---|---|
committer | 2020-09-01 09:10:45 +0200 | |
commit | e233f59ee8fa3ea7e3a965ba66241dd65465926a (patch) | |
tree | 72d2e9b7f6dde9c6fee4a2659656233f9af984a3 /plugin/forward/persistent.go | |
parent | 9e4a177d9f422583e68ade2404e598827b091263 (diff) | |
download | coredns-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/forward/persistent.go')
-rw-r--r-- | plugin/forward/persistent.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/forward/persistent.go b/plugin/forward/persistent.go index afa95d343..e6cad8188 100644 --- a/plugin/forward/persistent.go +++ b/plugin/forward/persistent.go @@ -121,7 +121,7 @@ func (t *Transport) cleanup(all bool) { // It is hard to pin a value to this, the import thing is to no block forever, losing at cached connection is not terrible. const yieldTimeout = 25 * time.Millisecond -// Yield return the connection to transport for reuse. +// Yield returns the connection to transport for reuse. func (t *Transport) Yield(pc *persistConn) { pc.used = time.Now() // update used time |