Introduce plusWorkaround: generate copy of file with '+' -> ' ' to workaround S3/apt bug. #98

This commit is contained in:
Andrey Smirnov
2014-10-01 21:32:56 +04:00
parent 8049d69793
commit aeae6009c4
7 changed files with 56 additions and 14 deletions

View File

@@ -217,7 +217,8 @@ func (context *AptlyContext) GetPublishedStorage(name string) aptly.PublishedSto
var err error
publishedStorage, err = s3.NewPublishedStorage(params.AccessKeyID, params.SecretAccessKey,
params.Region, params.Bucket, params.ACL, params.Prefix, params.StorageClass, params.EncryptionMethod)
params.Region, params.Bucket, params.ACL, params.Prefix, params.StorageClass,
params.EncryptionMethod, params.PlusWorkaround)
if err != nil {
Fatal(err)
}