Skip to content

Commit e1801fd

Browse files
authored
Remove duplicate words in comments (#4986)
1 parent 0c57fac commit e1801fd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

modules/caddyhttp/reverseproxy/reverseproxy.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1360,7 +1360,7 @@ var bufPool = sync.Pool{
13601360
}
13611361

13621362
// handleResponseContext carries some contextual information about the
1363-
// the current proxy handling.
1363+
// current proxy handling.
13641364
type handleResponseContext struct {
13651365
// handler is the active proxy handler instance, so that
13661366
// routes like copy_response may inherit some config

modules/caddyhttp/reverseproxy/upstreams.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ func (su SRVUpstreams) GetUpstreams(r *http.Request) ([]*Upstream, error) {
137137
_, records, err := su.resolver.LookupSRV(r.Context(), service, proto, name)
138138
if err != nil {
139139
// From LookupSRV docs: "If the response contains invalid names, those records are filtered
140-
// out and an error will be returned alongside the the remaining results, if any." Thus, we
140+
// out and an error will be returned alongside the remaining results, if any." Thus, we
141141
// only return an error if no records were also returned.
142142
if len(records) == 0 {
143143
return nil, err

0 commit comments

Comments
 (0)