diff options
author | 2022-08-30 22:35:31 +0800 | |
---|---|---|
committer | 2022-08-30 16:35:31 +0200 | |
commit | b218b56063a965dceeda2835b020f8672ba7e27a (patch) | |
tree | 6529f2b03ea23211c7c37a549567ee977899a650 /plugin/kubernetes/kubernetes.go | |
parent | b0a8c73a49eb0efbe592886f64c41605f6bba943 (diff) | |
download | coredns-b218b56063a965dceeda2835b020f8672ba7e27a.tar.gz coredns-b218b56063a965dceeda2835b020f8672ba7e27a.tar.zst coredns-b218b56063a965dceeda2835b020f8672ba7e27a.zip |
chore: remove duplicate word in comments (#5592)
* chore: remove duplicate word in comments
Signed-off-by: Abirdcfly <fp544037857@gmail.com>
* auto go mod tidy
Signed-off-by: coredns[bot] <bot@bot.coredns.io>
Signed-off-by: Abirdcfly <fp544037857@gmail.com>
Signed-off-by: coredns[bot] <bot@bot.coredns.io>
Co-authored-by: coredns[bot] <bot@bot.coredns.io>
Diffstat (limited to 'plugin/kubernetes/kubernetes.go')
-rw-r--r-- | plugin/kubernetes/kubernetes.go | 2 |
1 files changed, 1 insertions, 1 deletions
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 == "") } |