Skip to content

Commit

Permalink
test:
Browse files Browse the repository at this point in the history
  • Loading branch information
Jose-Matsuda committed Apr 9, 2024
1 parent 350ff31 commit dbd06ba
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions internal/backend_s3.go
Original file line number Diff line number Diff line change
Expand Up @@ -661,13 +661,15 @@ func (s *S3Backend) CopyBlob(param *CopyBlobInput) (*CopyBlobOutput, error) {

from := s.bucket + "/" + param.Source

if !s.gcs && *param.Size > COPY_LIMIT {
reqId, err := s.copyObjectMultipart(int64(*param.Size), from, param.Destination, "", param.ETag, param.Metadata, param.StorageClass)
if err != nil {
return nil, err
/*
if !s.gcs && *param.Size > COPY_LIMIT {
reqId, err := s.copyObjectMultipart(int64(*param.Size), from, param.Destination, "", param.ETag, param.Metadata, param.StorageClass)
if err != nil {
return nil, err
}
return &CopyBlobOutput{reqId}, nil
}
return &CopyBlobOutput{reqId}, nil
}
*/

params := &s3.CopyObjectInput{
Bucket: &s.bucket,
Expand Down

0 comments on commit dbd06ba

Please sign in to comment.