From 33bf28e1bd1c43d845450d11c5c6cf85b1c25eca 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 (cherry picked from commit 757ae4275bf89b98e7f4641afc63b82bd57547f8) --- 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)