We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 499781c commit 9f2a600Copy full SHA for 9f2a600
api-put-object-streaming.go
@@ -52,7 +52,7 @@ func (c *Client) putObjectMultipartStream(ctx context.Context, bucketName, objec
52
} else {
53
info, err = c.putObjectMultipartStreamOptionalChecksum(ctx, bucketName, objectName, reader, size, opts)
54
}
55
- if err != nil {
+ if err != nil && s3utils.IsGoogleEndpoint(*c.endpointURL) {
56
errResp := ToErrorResponse(err)
57
// Verify if multipart functionality is not available, if not
58
// fall back to single PutObject operation.
0 commit comments