Skip to content

Commit

Permalink
fix: Expand matching for additional variations (#14221)
Browse files Browse the repository at this point in the history
  • Loading branch information
paul1r authored Sep 23, 2024
1 parent 8322e51 commit 71d7291
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/storage/chunk/client/gcp/gcs_object_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 71d7291

Please sign in to comment.