Skip to content

Commit

Permalink
The version-id in the get command does not work (#5110)
Browse files Browse the repository at this point in the history
  • Loading branch information
liubingxing authored Jan 16, 2025
1 parent b1a3941 commit 95e1f70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/get-url.go
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ func guessGetURLType(ctx context.Context, o prepareCopyURLsOpts) (*copyURLsConte
return cc, probe.NewError(fmt.Errorf("Please set a full path for s3 resource."))
}
cc.sourceContent = s3clnt.objectInfo2ClientContent(bucket, minio.ObjectInfo{
Key: path,
Key: path, VersionID: o.versionID,
})

client, err = newClient(o.targetURL)
Expand Down

0 comments on commit 95e1f70

Please sign in to comment.