From b218b56063a965dceeda2835b020f8672ba7e27a Mon Sep 17 00:00:00 2001 From: Abirdcfly Date: Tue, 30 Aug 2022 22:35:31 +0800 Subject: [PATCH] chore: remove duplicate word in comments (#5592) * chore: remove duplicate word in comments Signed-off-by: Abirdcfly * auto go mod tidy Signed-off-by: coredns[bot] Signed-off-by: Abirdcfly Signed-off-by: coredns[bot] Co-authored-by: coredns[bot] --- plugin/kubernetes/kubernetes.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/kubernetes/kubernetes.go b/plugin/kubernetes/kubernetes.go index c6459fdaa..62e39648e 100644 --- a/plugin/kubernetes/kubernetes.go +++ b/plugin/kubernetes/kubernetes.go @@ -593,7 +593,7 @@ func match(a, b string) bool { return strings.EqualFold(a, b) } -// matchPortAndProtocol matches port and protocol, permitting the the 'a' inputs to be wild +// matchPortAndProtocol matches port and protocol, permitting the 'a' inputs to be wild func matchPortAndProtocol(aPort, bPort, aProtocol, bProtocol string) bool { return (match(aPort, bPort) || aPort == "") && (match(aProtocol, bProtocol) || aProtocol == "") }