From ea818c0cd51837c2aac9e3b6ce3645203a57ed72 Mon Sep 17 00:00:00 2001 From: Paul Rogers Date: Mon, 23 Sep 2024 09:45:24 -0400 Subject: [PATCH] Expand matching for additonal variations --- pkg/storage/chunk/client/gcp/gcs_object_client.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/storage/chunk/client/gcp/gcs_object_client.go b/pkg/storage/chunk/client/gcp/gcs_object_client.go index 69be4e2acf372..e8f5b4a64d850 100644 --- a/pkg/storage/chunk/client/gcp/gcs_object_client.go +++ b/pkg/storage/chunk/client/gcp/gcs_object_client.go @@ -272,7 +272,7 @@ func (s *GCSObjectClient) IsStorageTimeoutErr(err error) bool { if isContextErr(err) { // Go 1.23 changed the type of the error returned by the http client when a timeout occurs // while waiting for headers. This is a server side timeout. - return strings.Contains(err.Error(), "Client.Timeout exceeded while awaiting header") + return strings.Contains(err.Error(), "Client.Timeout") } // connection misconfiguration, or writing on a closed connection