The version-id in the get command does not work (#5110)

This commit is contained in:
qinyuren
2025-01-16 01:52:17 -08:00
committed by GitHub
parent b1a3941f22
commit 95e1f70eb5
+1 -1
View File
@@ -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)