mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-11-21 14:44:00 +00:00
all: substitute double "the the" with "the"
This is a follow-up for 8786a08d27
Updates https://github.com/VictoriaMetrics/VictoriaMetrics/pull/6600
This commit is contained in:
parent
9c4b0334f2
commit
eaed0465d2
2 changed files with 2 additions and 2 deletions
|
@ -405,7 +405,7 @@ func (up *URLPrefix) discoverBackendAddrsIfNeeded() {
|
||||||
buCopy.Host = addr
|
buCopy.Host = addr
|
||||||
if port != "" {
|
if port != "" {
|
||||||
if n := strings.IndexByte(buCopy.Host, ':'); n >= 0 {
|
if n := strings.IndexByte(buCopy.Host, ':'); n >= 0 {
|
||||||
// Drop the discovered port and substitute it the the port specified in bu.
|
// Drop the discovered port and substitute it the port specified in bu.
|
||||||
buCopy.Host = buCopy.Host[:n]
|
buCopy.Host = buCopy.Host[:n]
|
||||||
}
|
}
|
||||||
buCopy.Host += ":" + port
|
buCopy.Host += ":" + port
|
||||||
|
|
|
@ -9,7 +9,7 @@ import (
|
||||||
"github.com/valyala/histogram"
|
"github.com/valyala/histogram"
|
||||||
)
|
)
|
||||||
|
|
||||||
// quantilesAggrState calculates output=quantiles, e.g. the the given quantiles over the input samples.
|
// quantilesAggrState calculates output=quantiles, e.g. the given quantiles over the input samples.
|
||||||
type quantilesAggrState struct {
|
type quantilesAggrState struct {
|
||||||
m sync.Map
|
m sync.Map
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue