From e1801fdb19988a319fdc174ad39391e1a1c12f54 Mon Sep 17 00:00:00 2001 From: Abirdcfly Date: Sun, 28 Aug 2022 04:39:26 +0800 Subject: Remove duplicate words in comments (#4986) --- modules/caddyhttp/reverseproxy/upstreams.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/caddyhttp/reverseproxy/upstreams.go') diff --git a/modules/caddyhttp/reverseproxy/upstreams.go b/modules/caddyhttp/reverseproxy/upstreams.go index f49bb28..b9f85a2 100644 --- a/modules/caddyhttp/reverseproxy/upstreams.go +++ b/modules/caddyhttp/reverseproxy/upstreams.go @@ -137,7 +137,7 @@ func (su SRVUpstreams) GetUpstreams(r *http.Request) ([]*Upstream, error) { _, records, err := su.resolver.LookupSRV(r.Context(), service, proto, name) if err != nil { // From LookupSRV docs: "If the response contains invalid names, those records are filtered - // out and an error will be returned alongside the the remaining results, if any." Thus, we + // out and an error will be returned alongside the remaining results, if any." Thus, we // only return an error if no records were also returned. if len(records) == 0 { return nil, err -- cgit v1.2.3