Skip to content

Commit

Permalink
fix: Expand matching for additional variations (#14221)
Browse files Browse the repository at this point in the history
(cherry picked from commit 71d7291)
  • Loading branch information
paul1r authored and grafana-delivery-bot[bot] committed Sep 23, 2024
1 parent d96feac commit efed853
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 efed853

Please sign in to comment.