aboutsummaryrefslogtreecommitdiff
path: root/plugin/pkg/proxy/persistent.go
diff options
context:
space:
mode:
authorGravatar cui fliter <imcusg@gmail.com> 2023-04-25 23:25:07 +0800
committerGravatar GitHub <noreply@github.com> 2023-04-25 11:25:07 -0400
commitee3999303dca34831ca67b684094d4b01cc2a20c (patch)
tree04e2acbf602a7a69f0351638c6c68fb05a57bd55 /plugin/pkg/proxy/persistent.go
parent7bced74f51e9927f939b50504a13585d04caf434 (diff)
downloadcoredns-ee3999303dca34831ca67b684094d4b01cc2a20c.tar.gz
coredns-ee3999303dca34831ca67b684094d4b01cc2a20c.tar.zst
coredns-ee3999303dca34831ca67b684094d4b01cc2a20c.zip
fix some comments (#6052)
Signed-off-by: cui fliter <imcusg@gmail.com>
Diffstat (limited to 'plugin/pkg/proxy/persistent.go')
-rw-r--r--plugin/pkg/proxy/persistent.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/pkg/proxy/persistent.go b/plugin/pkg/proxy/persistent.go
index 0908ce96c..2dc8bde71 100644
--- a/plugin/pkg/proxy/persistent.go
+++ b/plugin/pkg/proxy/persistent.go
@@ -42,7 +42,7 @@ func newTransport(addr string) *Transport {
return t
}
-// connManagers manages the persistent connection cache for UDP and TCP.
+// connManager manages the persistent connection cache for UDP and TCP.
func (t *Transport) connManager() {
ticker := time.NewTicker(defaultExpire)
defer ticker.Stop()