Skip to content

Commit efed853

Browse files
paul1rgrafana-delivery-bot[bot]
authored andcommitted
fix: Expand matching for additional variations (#14221)
(cherry picked from commit 71d7291)
1 parent d96feac commit efed853

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/storage/chunk/client/gcp/gcs_object_client.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@ func (s *GCSObjectClient) IsStorageTimeoutErr(err error) bool {
272272
if isContextErr(err) {
273273
// Go 1.23 changed the type of the error returned by the http client when a timeout occurs
274274
// while waiting for headers. This is a server side timeout.
275-
return strings.Contains(err.Error(), "Client.Timeout exceeded while awaiting header")
275+
return strings.Contains(err.Error(), "Client.Timeout")
276276
}
277277

278278
// connection misconfiguration, or writing on a closed connection

0 commit comments

Comments
 (0)