mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-06-08 05:50:47 +00:00
Build src path on basis of storage prefix when symlinking
This commit is contained in:
+1
-1
@@ -390,7 +390,7 @@ func (storage *PublishedStorage) SymLink(src string, dst string) error {
|
|||||||
|
|
||||||
params := &s3.CopyObjectInput{
|
params := &s3.CopyObjectInput{
|
||||||
Bucket: aws.String(storage.bucket),
|
Bucket: aws.String(storage.bucket),
|
||||||
CopySource: aws.String(src),
|
CopySource: aws.String(filepath.Join(storage.prefix, src)),
|
||||||
Key: aws.String(filepath.Join(storage.prefix, dst)),
|
Key: aws.String(filepath.Join(storage.prefix, dst)),
|
||||||
ACL: aws.String(storage.acl),
|
ACL: aws.String(storage.acl),
|
||||||
Metadata: map[string]*string{
|
Metadata: map[string]*string{
|
||||||
|
|||||||
Reference in New Issue
Block a user