From 97d696ae8b2219789fcacc8d1d3574ec41b48b2a Mon Sep 17 00:00:00 2001 From: Aliaksandr Valialkin Date: Wed, 17 Jul 2024 14:28:09 +0200 Subject: [PATCH] all: substitute double "the the" with "the" This is a follow-up for 8786a08d27ace9f98da744597a2f4c285414c670 Updates https://github.com/VictoriaMetrics/VictoriaMetrics/pull/6600 --- app/vmauth/auth_config.go | 2 +- lib/streamaggr/quantiles.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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