From f9604bcf3a93389dfd9da4f04aa32f45593aa7db Mon Sep 17 00:00:00 2001 From: hagen1778 Date: Thu, 24 Aug 2023 09:32:11 +0200 Subject: [PATCH] app/vmagent: fix comment typo after 992a1c0a3a2e4bb6ac9ad9be7c9621a3ac850a26 Signed-off-by: hagen1778 --- app/vmagent/remotewrite/client.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/vmagent/remotewrite/client.go b/app/vmagent/remotewrite/client.go index fa0720efb..1b5399dc0 100644 --- a/app/vmagent/remotewrite/client.go +++ b/app/vmagent/remotewrite/client.go @@ -326,8 +326,8 @@ func (c *client) doRequest(url string, body []byte) (*http.Response, error) { req := c.newRequest(url, body) resp, err := c.hc.Do(req) if errors.Is(err, io.EOF) || errors.Is(err, io.ErrUnexpectedEOF) { - // it is likely connection become stale. So we do one more attempt, - // so we do a one more attempt in hope request will succeed. + // it is likely connection became stale. + // So we do one more attempt in hope request will succeed. // If not, the error should be handled by the caller as usual. req = c.newRequest(url, body) resp, err = c.hc.Do(req)