Skip to content

Commit

Permalink
fix code check
Browse files Browse the repository at this point in the history
  • Loading branch information
dormanze committed Feb 28, 2025
1 parent 4acd372 commit 50cc4b9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion cmd/client-s3.go
Original file line number Diff line number Diff line change
Expand Up @@ -1092,7 +1092,7 @@ func (c *S3Client) Put(ctx context.Context, reader io.Reader, size int64, progre
}

opts := minio.PutObjectOptions{
Internal: minio.AdvancedPutOptions{SourceVersionID: putOpts.versionId},
Internal: minio.AdvancedPutOptions{SourceVersionID: putOpts.versionID},
UserMetadata: metadata,
UserTags: tagsMap,
Progress: progress,
Expand Down
2 changes: 1 addition & 1 deletion cmd/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ type PutOptions struct {
concurrentStream bool
ifNotExists bool
checksum minio.ChecksumType
versionId string
versionID string
}

// StatOptions holds options of the HEAD operation
Expand Down
2 changes: 1 addition & 1 deletion cmd/common-methods.go
Original file line number Diff line number Diff line change
Expand Up @@ -506,7 +506,7 @@ func uploadSourceToTargetURL(ctx context.Context, uploadOpts uploadSourceToTarge
multipartThreads: uint(multipartThreads),
ifNotExists: uploadOpts.ifNotExists,
checksum: uploadOpts.urls.checksum,
versionId: uploadOpts.urls.TargetContent.VersionID,
versionID: uploadOpts.urls.TargetContent.VersionID,
}

if isReadAt(reader) || length == 0 {
Expand Down

0 comments on commit 50cc4b9

Please sign in to comment.