diff --git a/app/vmauth/auth_config.go b/app/vmauth/auth_config.go index 151dd2986e..a42a32f27d 100644 --- a/app/vmauth/auth_config.go +++ b/app/vmauth/auth_config.go @@ -405,7 +405,7 @@ func (up *URLPrefix) discoverBackendAddrsIfNeeded() { buCopy.Host = addr if port != "" { 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 += ":" + port diff --git a/lib/streamaggr/quantiles.go b/lib/streamaggr/quantiles.go index 6b37b22d4e..ee187d36bb 100644 --- a/lib/streamaggr/quantiles.go +++ b/lib/streamaggr/quantiles.go @@ -9,7 +9,7 @@ import ( "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 { m sync.Map